Merge "SyncManager: Mark unaudited PendingIntents with FLAG_MUTABLE_UNAUDITED"
This commit is contained in:
committed by
Android (Google) Code Review
commit
c0d806d30d
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user