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

Commit 200b28eb authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Specify explicitly FLAG_IMMUTABLE for PendingIntent" am: 59dd827d

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12968755

Change-Id: I85ef62136de4952c0ed7af2f1f54d16d4452b368
parents 5e59d545 59dd827d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -124,7 +124,7 @@ public class BatteryTipUtils {
            throws StatsManager.StatsUnavailableException {
        final Intent extraIntent = new Intent(context, AnomalyDetectionReceiver.class);
        final PendingIntent pendingIntent = PendingIntent.getBroadcast(context, REQUEST_CODE,
                extraIntent, PendingIntent.FLAG_UPDATE_CURRENT);
                extraIntent, PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_IMMUTABLE);
        statsManager.setBroadcastSubscriber(pendingIntent,
                StatsManagerConfig.ANOMALY_CONFIG_KEY, StatsManagerConfig.SUBSCRIBER_ID);
    }