diff options
author | Govinda Wasserman <gwasserman@google.com> | 2019-09-05 16:32:23 -0400 |
---|---|---|
committer | Govinda Wasserman <gwasserman@google.com> | 2019-09-11 14:15:32 -0400 |
commit | 61c92d6f5b821779e4715c67976cb019be982f39 (patch) | |
tree | ce632bc8980d5dc7af5ff78abf72389f8d256007 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 1eb71b84a2b0004c76e8ea9f1809ab1817699430 (diff) |
Trigger doze detection using WakefulnessLifecycle
Previously, doze detection used StatusBarStateController, which only
provides a signal at the end of the doze transition. This resulted in
the handles only animating away once the screen was already off. Using
the WakefulnessLifecycle allows for a callback when the transition
begins instead.
Test: Tested locally
BUG:137742178
Change-Id: I289ef5b5081fa96b1c8e82c4373c7654e8df80cb
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions