You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FLAG_IMMUTABLE is missing for PendingIntent in UpgradeNotification.java:
E/AndroidRuntime(11658): java.lang.RuntimeException: Error receiving broadcast Intent { act=com.example.r_upgrade.DOWNLOAD_STATUS flg=0x10 (has extras) } in com.example.r_upgrade.common.UpgradeManager$3@7fc8eed
E/AndroidRuntime(11658): at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0$LoadedApk$ReceiverDispatcher$Args(LoadedApk.java:1689)
E/AndroidRuntime(11658): at android.app.LoadedApk$ReceiverDispatcher$Args$$ExternalSyntheticLambda0.run(Unknown Source:2)
E/AndroidRuntime(11658): at android.os.Handler.handleCallback(Handler.java:938)
E/AndroidRuntime(11658): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(11658): at android.os.Looper.loopOnce(Looper.java:201)
E/AndroidRuntime(11658): at android.os.Looper.loop(Looper.java:288)
E/AndroidRuntime(11658): at android.app.ActivityThread.main(ActivityThread.java:7838)
E/AndroidRuntime(11658): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(11658): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
E/AndroidRuntime(11658): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
E/AndroidRuntime(11658): Caused by: java.lang.IllegalArgumentException: [...]: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
The text was updated successfully, but these errors were encountered:
XMitja
changed the title
Android 12
Android 12 FLAG_IMMUTABLE
Dec 1, 2021
FLAG_IMMUTABLE is missing for PendingIntent in UpgradeNotification.java:
E/AndroidRuntime(11658): java.lang.RuntimeException: Error receiving broadcast Intent { act=com.example.r_upgrade.DOWNLOAD_STATUS flg=0x10 (has extras) } in com.example.r_upgrade.common.UpgradeManager$3@7fc8eed
E/AndroidRuntime(11658): at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0$LoadedApk$ReceiverDispatcher$Args(LoadedApk.java:1689)
E/AndroidRuntime(11658): at android.app.LoadedApk$ReceiverDispatcher$Args$$ExternalSyntheticLambda0.run(Unknown Source:2)
E/AndroidRuntime(11658): at android.os.Handler.handleCallback(Handler.java:938)
E/AndroidRuntime(11658): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(11658): at android.os.Looper.loopOnce(Looper.java:201)
E/AndroidRuntime(11658): at android.os.Looper.loop(Looper.java:288)
E/AndroidRuntime(11658): at android.app.ActivityThread.main(ActivityThread.java:7838)
E/AndroidRuntime(11658): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(11658): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
E/AndroidRuntime(11658): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
E/AndroidRuntime(11658): Caused by: java.lang.IllegalArgumentException: [...]: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
The text was updated successfully, but these errors were encountered: