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

This commit is contained in:
Treehugger Robot
2023-02-07 19:55:29 +00:00
committed by Gerrit Code Review

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)