Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[alarm] Hold wakelock while expecting alarm ui startup. Fixes JB#33008
There is a rtc wakeup related scheduling hazard that can make DSME miss the fact that resume was made in order to show alarm dialog and device falls back to suspend before alarm ui has a chance to block suspend. Track alarm queue status from D-Bus signals emitted by timed and block suspend for up to 1 minute when alarm ui is expected to start up.
- Loading branch information
Showing
2 changed files
with
154 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters