diff options
author | Govinda Wasserman <gwasserman@google.com> | 2019-09-05 16:32:23 -0400 |
---|---|---|
committer | Govinda Wasserman <gwasserman@google.com> | 2019-09-12 10:42:34 -0400 |
commit | 3fcd71785e84db5a12dede8ab7702b31b080c2f2 (patch) | |
tree | bce16cd8b0d5f08b1c003f07d6aeb000be27236e /startop/scripts/lib/cmd_utils.py | |
parent | 76a8d1c24fd51cc11bc49bcbc0744f4fb8c47ec7 (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
Merged-In: I289ef5b5081fa96b1c8e82c4373c7654e8df80cb
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions