summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorwilsonshih <wilsonshih@google.com>2021-10-04 18:12:30 +0800
committerwilsonshih <wilsonshih@google.com>2021-10-07 21:15:49 +0800
commit0760ca28ea0652639954003564b3e1d35fe8d324 (patch)
tree2b1393347dc975ae7da19909dc8b71dab60d9e84 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent9f660a963610e94bbe164a64613875b518a74ff3 (diff)
Use display awake signal to replace screen-off signal for sleep token.
For sleep token, device goingToSleep/awake might be more reliable than screen on/off since it can be affected by AOD, we can consider this as a signal to sleep device. And move the SleepTokenAcquirer to DisplayPolicy, we don't need the SleepTokenAcquirer interface on ActivityTaskManagerInternal anymore. Also reuse the acquirer on RootWindowContainer for default display so there does not need to create another one. Bug: 199633495 Test: atest KeyguardTests KeyguardTransitionTests Change-Id: I676cd5855f31d31d7acba9f161d27bdaf58844f1
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions