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

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

Merge "SyncManager: Mark unaudited PendingIntents with FLAG_MUTABLE_UNAUDITED"

parents 3fea9227 a13ad431
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -3838,9 +3838,12 @@ 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, null, user);
                            PendingIntent.FLAG_CANCEL_CURRENT
                            | PendingIntent.FLAG_MUTABLE_UNAUDITED, null, user);

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