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

Commit e30dc7fe authored by Ashwini Oruganti's avatar Ashwini Oruganti Committed by Android (Google) Code Review
Browse files

Merge "ActivityTaskManagerService: Mark unaudited PendingIntents with FLAG_MUTABLE_UNAUDITED"

parents 05b2b121 8e7939d6
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -4708,8 +4708,11 @@ 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, null,
                                    intent, PendingIntent.FLAG_CANCEL_CURRENT
                                    | PendingIntent.FLAG_MUTABLE_UNAUDITED, null,
                                    new UserHandle(userId)))
                            .build();
            try {