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

Commit 2a9790b4 authored by Zimuzo Ezeozue's avatar Zimuzo Ezeozue Committed by Android (Google) Code Review
Browse files

Merge "Make low storage notification PendingIntent immutable"

parents e0634a05 df9a44e1
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)