Merge "[DO NOT MERGE] Make screenshot error notification PendingIntent immutable" into sc-dev

This commit is contained in:
Miranda Kephart
2021-03-04 15:27:03 +00:00
committed by Android (Google) Code Review

View File

@@ -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);
}