-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
On devices targeting Android S and higher I am getting the following error:
"Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent."
Error seems to be in ShortcutUtils.java
PendingIntent successCallback = PendingIntent.getBroadcast(context, 0, pinnedShortcutCallbackIntent, 0);
should be
PendingIntent successCallback = PendingIntent.getBroadcast(context, 0, pinnedShortcutCallbackIntent, FLAG_IMMUTABLE);
I think.
Metadata
Metadata
Assignees
Labels
No labels