Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5408d16f authored by qinyige1's avatar qinyige1
Browse files

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

PendingIntent attached to BubbleMetadata should not be immutable.

Bug: 267009669
Test: Manual
Change-Id: I2063c973146f9376e5ea90285f67cbe500e9646d
parent b3238fc8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)