Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 068749ff authored by Miranda Kephart's avatar Miranda Kephart Committed by Anis Assi
Browse files

[DO NOT MERGE] Make screenshot error notification PendingIntent immutable

Bug: 178189250
Test: manual (using POC in bug)
Change-Id: I787915c0493d18500e7531bd0ca7191532441f93
(cherry picked from commit 1eecc874)
parent 3f4a62d2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
        }