diff options
| author | 2024-03-04 04:40:19 +0000 | |
|---|---|---|
| committer | 2024-03-27 03:23:10 +0000 | |
| commit | ce7e8a7f743ef96ba7edba0476110489c711fd1f (patch) | |
| tree | c26eb83bc76fcf6b46973c2b5bf6c888e31fac6c /libs/androidfw/StringPool.cpp | |
| parent | 99e09fc820babe7c0601c18f49ee7038451a7a00 (diff) | |
Introduce new wake lock level for screen timeout
The new wake lock would allow system to override the current
screen timeout by the specified value in config.
There are some restrictions for this:
- Require the new permisson: SCREEN_TIMEOUT_OVERRIDE
- Allow the wake lock acquired when device is interactive.
- This won't hold the wakefulness change and change current state.
- Timeout value should be specified in config.xml
- All locks would be released automatically when other user activity
occured or a screen wake lock is acquired.
Bug: 295035108
Test: atest PowerManagerServiceTest
Flag: enable_early_screen_timeout_detector
Change-Id: I4d3280d2fb494ac9cc011e0029dd5cfef3d260c1
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions