Skip to content
Commit 7df24e59 authored by Alex Salo's avatar Alex Salo Committed by Brian Quezada
Browse files

Keep screen on when user undims it manually

When user manually undims the screen x times - it's a clear indication
that they want to keep it on and dimming is not wanted. For such case,
keep the screen on temporarily by acquiring a wakelock,
without changing the actual timeout setting.

Bug: 162367114
Bug: 162422938
Test: atest ScreenUndimDetectorTest
Change-Id: Ib80b569fc9d230d8f77e0baec67c17a3e90be516
parent 9ff04bdc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment