summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Miranda Kephart <mkephart@google.com> 2021-03-04 15:27:03 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2021-03-04 15:27:03 +0000
commitd9ed1aa920077ab51e5a79d40eff300ce7f1d188 (patch)
tree41444ba34a524f28b28a1f9b844dfb383bd4ffec
parent74aa1e54e1204c48ed9ba017b19d1a44fb7f2a95 (diff)
parent368da9a29a617eb6666cbc441eb4f575461296dd (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.java2
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);
}