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

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

Use FLAG_IMMUTABLE for ServiceStateTracker am: 1e6c7f61

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/11402657

Change-Id: Idd016bd322afbbe876f349f9af2447ffb4164bf5
parents 6e89e1ec 1e6c7f61
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2417,7 +2417,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");