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

Commit bbab1d3b authored by Paul Hu's avatar Paul Hu Committed by Gerrit Code Review
Browse files

Merge "Make PendingIntent immutable"

parents 85e07ab8 5eba4251
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;