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

Commit c3175173 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Replace unaudited PendingIntents with FLAG_IMMUTABLE" into sc-dev am: 29f7ff1a

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

Change-Id: I7f913703fe6f7a1f71285bc60082cd328f45b8ec
parents 18ca8911 29f7ff1a
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -4514,11 +4514,9 @@ public class ActivityTaskManagerService extends IActivityTaskManager.Stub {
                            .setContentTitle(text)
                            .setContentText(
                                    mContext.getText(R.string.heavy_weight_notification_detail))
                            // TODO(b/175194709) Please replace FLAG_MUTABLE_UNAUDITED below
                            // with either FLAG_IMMUTABLE (recommended) or FLAG_MUTABLE.
                            .setContentIntent(PendingIntent.getActivityAsUser(mContext, 0,
                                    intent, PendingIntent.FLAG_CANCEL_CURRENT
                                    | PendingIntent.FLAG_MUTABLE_UNAUDITED, null,
                                    | PendingIntent.FLAG_IMMUTABLE, null,
                                    new UserHandle(userId)))
                            .build();
            try {