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

Commit 159a686b 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 am: 7c45d20d

Change-Id: I4b905d3e1fe3484e6ffbcadc267cda2bcf02d790
parents cc858438 7c45d20d
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");