Skip to content
Snippets Groups Projects
Forked from Dhina17 / platform_frameworks_base
17567 commits behind the upstream repository.
user avatar
Tetiana Meronyk authored
Before this change alarms in multiuser environment were not consistent. If the user was stopped, their alarm did not go off. Since user stops happen without user's explicit interaction and their status is not available to regular users, if the alarm was set on background user, there was no certainty that the alarm would ring.

After the change a list of users with alarms scheduled is stored to start them in background shortly before their alarm. This ensures consistency in alarms going off even if the user gets stopped. Persistence of this list was added to save this list even after device reboots.

Bug: 314907186
Test: atest AlarmManagerServiceTest && atest UserWakeupStoreTest
Change-Id: I5a75813d76f505383909ac6a281902c54784a1ed
8ca5a040
History
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Name Last commit Last update
..
blobstore
jobscheduler
Android.bp
OWNERS