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

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

Merge "Use FLAG_IMMUTABLE for ServiceStateTracker" into rvc-dev

parents c5bf6286 12480087
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2895,7 +2895,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");