commit | 61c92d6f5b821779e4715c67976cb019be982f39 | [log] [tgz] |
---|---|---|
author | Govinda Wasserman <gwasserman@google.com> | Thu Sep 05 16:32:23 2019 -0400 |
committer | Govinda Wasserman <gwasserman@google.com> | Wed Sep 11 14:15:32 2019 -0400 |
tree | ce632bc8980d5dc7af5ff78abf72389f8d256007 | |
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