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

Unverified Commit 4ffdedee authored by Kevin F. Haggerty's avatar Kevin F. Haggerty
Browse files

Merge tag 'android-security-9.0.0_r72' into staging/lineage-16.0_merge_android-security-9.0.0_r72

Android security 9.0.0 release 72

* tag 'android-security-9.0.0_r72':
  Forward fix for: Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent.
  Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent.

Change-Id: I47c212201b4d29a5e0688aff1d624e807da5ea9a
parents 27d479b5 8b3f123b
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -15,6 +15,9 @@
 */
package com.android.launcher3.model;

import static android.app.PendingIntent.FLAG_IMMUTABLE;
import static android.app.PendingIntent.FLAG_ONE_SHOT;

import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
@@ -140,7 +143,7 @@ public class FirstScreenBroadcast {
                .putStringArrayListExtra(HOTSEAT_ITEM_EXTRA, new ArrayList<>(hotseatItems))
                .putStringArrayListExtra(WIDGET_ITEM_EXTRA, new ArrayList<>(widgetItems))
                .putExtra(VERIFICATION_TOKEN_EXTRA, PendingIntent.getActivity(context, 0,
                        new Intent(), PendingIntent.FLAG_ONE_SHOT)));
                        new Intent(), FLAG_ONE_SHOT | FLAG_IMMUTABLE)));
    }

    private static String getPackageName(ItemInfo info) {