diff options
| author | 2021-02-08 11:30:34 -0500 | |
|---|---|---|
| committer | 2021-02-08 16:43:25 +0000 | |
| commit | 368da9a29a617eb6666cbc441eb4f575461296dd (patch) | |
| tree | afc9c4cacb4b6dbd5cb5b7df466e8cf3e5675488 | |
| parent | 5c3c5ea216d537a86f0849a3211b9c5f48632211 (diff) | |
[DO NOT MERGE] Make screenshot error notification PendingIntent immutable
Bug: 178189250
Test: manual (using POC in bug)
Change-Id: I787915c0493d18500e7531bd0ca7191532441f93
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/screenshot/ScreenshotNotificationsController.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/screenshot/ScreenshotNotificationsController.java b/packages/SystemUI/src/com/android/systemui/screenshot/ScreenshotNotificationsController.java index 6cdf6ab5154e..58a54f6ce0ed 100644 --- a/packages/SystemUI/src/com/android/systemui/screenshot/ScreenshotNotificationsController.java +++ b/packages/SystemUI/src/com/android/systemui/screenshot/ScreenshotNotificationsController.java @@ -82,7 +82,7 @@ public class ScreenshotNotificationsController { dpm.createAdminSupportIntent(DevicePolicyManager.POLICY_DISABLE_SCREEN_CAPTURE); if (intent != null) { final PendingIntent pendingIntent = PendingIntent.getActivityAsUser( - mContext, 0, intent, PendingIntent.FLAG_MUTABLE_UNAUDITED, null, UserHandle.CURRENT); + mContext, 0, intent, PendingIntent.FLAG_IMMUTABLE, null, UserHandle.CURRENT); b.setContentIntent(pendingIntent); } |