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

Commit 7a391fbc authored by Robin Lee's avatar Robin Lee
Browse files

PipNotification: Add FLAG_IMMUTABLE

Fixes breakage caused by b/160794467

Bug: 176870313
Bug: 176912389
Test: SystemUI can start again.
Change-Id: Ib726a829f693111fb201e41e0bac870df4280087
parent 57970513
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -175,7 +175,7 @@ public class PipNotification {
    }

    private static PendingIntent createPendingIntent(Context context, String action) {
        return PendingIntent.getBroadcast(context, 0,
                new Intent(action), PendingIntent.FLAG_CANCEL_CURRENT);
        return PendingIntent.getBroadcast(context, 0, new Intent(action),
                PendingIntent.FLAG_CANCEL_CURRENT | PendingIntent.FLAG_IMMUTABLE);
    }
}