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

Commit e8328766 authored by Shuo Qian's avatar Shuo Qian Committed by Automerger Merge Worker
Browse files

Merge "Use FLAG_IMMUTABLE for ServiceStateTracker" into rvc-dev am: ebc187d0

Change-Id: Id05c53ad93dd63aa64739ad21b389d706dbf9527
parents 377e3d11 ebc187d0
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");