Merge "[EasterEgg][Bugfix] Create PendingIntents with flag FLAG_MUTABLE." am: facf360938

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2405715

Change-Id: If16a137520ead3a04c630f2a5c23c4ff7e144eda
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot
2023-02-07 20:53:54 +00:00
committed by Automerger Merge Worker

View File

@@ -258,7 +258,7 @@ public class Cat extends Drawable {
Notification.BubbleMetadata bubbs = new Notification.BubbleMetadata.Builder()
.setIntent(
PendingIntent.getActivity(context, 0, intent, PendingIntent.FLAG_IMMUTABLE))
PendingIntent.getActivity(context, 0, intent, PendingIntent.FLAG_MUTABLE))
.setIcon(notificationIcon)
.setSuppressNotification(false)
.setDesiredHeight(context.getResources().getDisplayMetrics().heightPixels)