[EasterEgg][Bugfix] Create PendingIntents with flag FLAG_MUTABLE.
PendingIntent attached to BubbleMetadata should not be immutable. Bug: 267009669 Test: Manual Change-Id: I2063c973146f9376e5ea90285f67cbe500e9646d
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user