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
Loading
Please register or sign in to comment