diff options
| -rw-r--r-- | services/core/java/com/android/server/wm/ActivityTaskManagerService.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/wm/ActivityTaskManagerService.java b/services/core/java/com/android/server/wm/ActivityTaskManagerService.java index 8298dfd85114..5fed940bb540 100644 --- a/services/core/java/com/android/server/wm/ActivityTaskManagerService.java +++ b/services/core/java/com/android/server/wm/ActivityTaskManagerService.java @@ -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 { |