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

Commit ea51bc5a authored by Paul Hu's avatar Paul Hu Committed by Automerger Merge Worker
Browse files

Merge "Make PendingIntent immutable" am: bbab1d3b am: 09448f96

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

Change-Id: I62d89704634f015bc17247819af8212c7bc08ec3
parents 7a11b64a 09448f96
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -154,7 +154,7 @@ public class PacManager {
        mNetThreadHandler = new Handler(netThread.getLooper());

        mPacRefreshIntent = PendingIntent.getBroadcast(
                context, 0, new Intent(ACTION_PAC_REFRESH), 0);
                context, 0, new Intent(ACTION_PAC_REFRESH), PendingIntent.FLAG_IMMUTABLE);
        context.registerReceiver(new PacRefreshIntentReceiver(),
                new IntentFilter(ACTION_PAC_REFRESH));
        mConnectivityHandler = handler;