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

Commit 8366d2f7 authored by Zim's avatar Zim Committed by Automerger Merge Worker
Browse files

Make low storage notification PendingIntent immutable am: 166d683e

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13229373

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib3e1c28e1a91084638a9e962bfef5b0fbc011d82
parents 91869903 166d683e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -472,8 +472,8 @@ public class DeviceStorageMonitorService extends SystemService {
            final CharSequence details = context.getText(
                    com.android.internal.R.string.low_internal_storage_view_text);

            PendingIntent intent = PendingIntent.getActivityAsUser(context, 0, lowMemIntent, 0,
                    null, UserHandle.CURRENT);
            PendingIntent intent = PendingIntent.getActivityAsUser(context, 0, lowMemIntent,
                    PendingIntent.FLAG_IMMUTABLE, null, UserHandle.CURRENT);
            Notification notification =
                    new Notification.Builder(context, SystemNotificationChannels.ALERTS)
                            .setSmallIcon(com.android.internal.R.drawable.stat_notify_disk_full)