Merge "[EasterEgg][Bugfix] Create PendingIntents with flag FLAG_MUTABLE." am: facf360938 am: 8ffb12d4fb
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2405715 Change-Id: Ic03cbc0c9ecc1e19933d6645a341295ea324d2b1 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -258,7 +258,7 @@ public class Cat extends Drawable {
|
|||||||
|
|
||||||
Notification.BubbleMetadata bubbs = new Notification.BubbleMetadata.Builder()
|
Notification.BubbleMetadata bubbs = new Notification.BubbleMetadata.Builder()
|
||||||
.setIntent(
|
.setIntent(
|
||||||
PendingIntent.getActivity(context, 0, intent, PendingIntent.FLAG_IMMUTABLE))
|
PendingIntent.getActivity(context, 0, intent, PendingIntent.FLAG_MUTABLE))
|
||||||
.setIcon(notificationIcon)
|
.setIcon(notificationIcon)
|
||||||
.setSuppressNotification(false)
|
.setSuppressNotification(false)
|
||||||
.setDesiredHeight(context.getResources().getDisplayMetrics().heightPixels)
|
.setDesiredHeight(context.getResources().getDisplayMetrics().heightPixels)
|
||||||
|
|||||||
Reference in New Issue
Block a user