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

Commit 250c00cd authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Update PendingIntent with mutability flag."

parents b28ff2ea 0e275199
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -3838,12 +3838,10 @@ public class SyncManager {
            }

            UserHandle user = new UserHandle(userId);
            // TODO(b/174186839) Please replace FLAG_MUTABLE_UNAUDITED below
            // with either FLAG_IMMUTABLE (recommended) or FLAG_MUTABLE.
            final PendingIntent pendingIntent = PendingIntent
                    .getActivityAsUser(mContext, 0, clickIntent,
                            PendingIntent.FLAG_CANCEL_CURRENT
                            | PendingIntent.FLAG_MUTABLE_UNAUDITED, null, user);
                            PendingIntent.FLAG_CANCEL_CURRENT | PendingIntent.FLAG_IMMUTABLE,
                            null, user);

            CharSequence tooManyDeletesDescFormat = mContext.getResources().getText(
                    R.string.contentServiceTooManyDeletesNotificationDesc);