RESTRICT AUTOMERGE Prevent size of list changes during mPendingNonWakeupAlarms deliver
When device changes from SCREEN_OFF to SCREEN_ON, AlarmManagerService deliver non-wakeup alarms. If there is TIME_TICK alarm in mPendingNonWakeupAlarms, TIME_TICK alarm is rescheduled. While TIME_TICK alarm is set again, it is removed from mPendingNonWakeupAlarms. Because removing alarm from mPendingNonWakeupAlarms change size of mPendingNonWakeupAlarms, last alarm in mPendingNonWakeupAlarms is not delivered. Test: build / boot Change-Id: If0ab601248b4833855e03157cc47ffc678b3b974 Merged-In: I5228c323bb9698864c467e9e4c400459ca404b3c
Loading
Please register or sign in to comment