summaryrefslogtreecommitdiff
path: root/startop/scripts/lib/print_utils.py
diff options
context:
space:
mode:
authorGovinda Wasserman <gwasserman@google.com>2019-09-05 16:32:23 -0400
committerGovinda Wasserman <gwasserman@google.com>2019-09-12 10:42:34 -0400
commit3fcd71785e84db5a12dede8ab7702b31b080c2f2 (patch)
treebce16cd8b0d5f08b1c003f07d6aeb000be27236e /startop/scripts/lib/print_utils.py
parent76a8d1c24fd51cc11bc49bcbc0744f4fb8c47ec7 (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/print_utils.py')
0 files changed, 0 insertions, 0 deletions