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

Commit fa5672c8 authored by Shuo Qian's avatar Shuo Qian Committed by Automerger Merge Worker
Browse files

Use FLAG_IMMUTABLE for InstallCarrierAppUtils am: 76decc9e

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/11493532

Change-Id: Ieb0f094480a2c5e623563783505bbbbe2fcf6133
parents c610e30f 76decc9e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -68,7 +68,8 @@ public class InstallCarrierAppUtils {
                Settings.Global.INSTALL_CARRIER_APP_NOTIFICATION_PERSISTENT, 1) == 1;

        PendingIntent goToStore = PendingIntent.getActivity(context, 0,
                getPlayStoreIntent(pkgName), PendingIntent.FLAG_UPDATE_CURRENT);
                getPlayStoreIntent(pkgName), PendingIntent.FLAG_UPDATE_CURRENT
                        | PendingIntent.FLAG_IMMUTABLE);

        Notification.Action goToStoreAction =
                new Notification.Action.Builder(null, downloadButtonText, goToStore).build();