diff options
| author | 2021-03-04 15:27:03 +0000 | |
|---|---|---|
| committer | 2021-03-04 15:27:03 +0000 | |
| commit | d9ed1aa920077ab51e5a79d40eff300ce7f1d188 (patch) | |
| tree | 41444ba34a524f28b28a1f9b844dfb383bd4ffec | |
| parent | 74aa1e54e1204c48ed9ba017b19d1a44fb7f2a95 (diff) | |
| parent | 368da9a29a617eb6666cbc441eb4f575461296dd (diff) | |
Merge "[DO NOT MERGE] Make screenshot error notification PendingIntent immutable" into sc-dev
| -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); } |