summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorAlex Salo <asalo@google.com>2020-06-18 20:44:35 -0700
committerBrian Quezada <bquezada@google.com>2021-08-18 18:22:28 +0000
commitd629681a7c13fcbd550b47ed8a3c5823f09770b7 (patch)
tree946a95eeeca0b53aa066447208a57e0013b0222a /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent6bad1e88c967a69a651bfddd907a7825d2694978 (diff)
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 (cherry picked from commit 7df24e5936ff41997f58cae94ed2c8dcd37eab62)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions