Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hold wakelock while there are active power key related timers
There is a state machine for separating short, long and double power key presses. The detection logic uses timers, and we need to ensure the device does not fall back to suspend while the timers are active. [mce] Hold wakelock while there are active power key related timers
- Loading branch information
Showing
3 changed files
with
57 additions
and
0 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
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