diff options
author | Miranda Kephart <mkephart@google.com> | 2021-03-04 15:27:25 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2021-03-04 15:27:25 +0000 |
commit | 9c62f07486cb9a0ab02a1f67cb41fcdfc039708e (patch) | |
tree | d10159a92cb756ba0dd2683fa4ce48b185aff3fe | |
parent | 5fa6de7421707721e1864dd350c1d88d04a0c879 (diff) | |
parent | 1eecc874b6bda42a5a191684704e3bf424cf47da (diff) | |
download | base-9c62f07486cb9a0ab02a1f67cb41fcdfc039708e.tar.gz |
Merge "[DO NOT MERGE] Make screenshot error notification PendingIntent immutable" into rvc-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 42dde4064a97..b8a468e0ce45 100644 --- a/packages/SystemUI/src/com/android/systemui/screenshot/ScreenshotNotificationsController.java +++ b/packages/SystemUI/src/com/android/systemui/screenshot/ScreenshotNotificationsController.java @@ -252,7 +252,7 @@ public class ScreenshotNotificationsController { dpm.createAdminSupportIntent(DevicePolicyManager.POLICY_DISABLE_SCREEN_CAPTURE); if (intent != null) { final PendingIntent pendingIntent = PendingIntent.getActivityAsUser( - mContext, 0, intent, 0, null, UserHandle.CURRENT); + mContext, 0, intent, PendingIntent.FLAG_IMMUTABLE, null, UserHandle.CURRENT); b.setContentIntent(pendingIntent); } |