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

Commit 22c956e3 authored by Shuo Qian's avatar Shuo Qian Committed by Android (Google) Code Review
Browse files

Merge "Use FLAG_IMMUTABLE" into oc-mr1-dev

parents 89763569 7afe82e8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2434,7 +2434,8 @@ public class ServiceStateTracker extends Handler {
                    AlarmManager am = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);

                    Intent intent = new Intent(ACTION_RADIO_OFF);
                    mRadioOffIntent = PendingIntent.getBroadcast(context, 0, intent, 0);
                    mRadioOffIntent = PendingIntent.getBroadcast(
                            context, 0, intent, PendingIntent.FLAG_IMMUTABLE);

                    mAlarmSwitch = true;
                    if (DBG) log("Alarm setting");