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

Commit 9dfe748b authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "PreBootBroadcaster.java: Make the PendingIntent immutable"

parents 5d8bfdc5 06f66ba8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -144,7 +144,8 @@ public abstract class PreBootBroadcaster extends IIntentReceiver.Stub {

                    final PendingIntent contentIntent;
                    if (context.getPackageManager().resolveActivity(intent, 0) != null) {
                        contentIntent = PendingIntent.getActivity(context, 0, intent, 0);
                        contentIntent = PendingIntent.getActivity(context, 0, intent,
                                PendingIntent.FLAG_IMMUTABLE);
                    } else {
                        contentIntent = null;
                    }