diff options
author | Chris.CC Lee <chriscclee@google.com> | 2020-02-04 09:34:48 +0800 |
---|---|---|
committer | Chris.CC Lee <chriscclee@google.com> | 2020-02-04 09:34:48 +0800 |
commit | 4aced5d9065ebf1abbe35a8bcfb8f3bd105cd77a (patch) | |
tree | e6a9edcff0ec26d6b8497297fc9e287c05b482fd /startop/scripts/lib/cmd_utils.py | |
parent | 6c3cdcc7acb429e96009213afe0ce710d62d5725 (diff) |
[DO NOT MERGE] Fix AoD front scrim being opaque at DOZE_PULSING
When doze state changed from DOZE to DOZE_PULSING on devices not
supporting doze_brightness_sensor_type sensor, there would be no
sensor events to update the AoD front scrim. And due to the scrim was
set to opaque at DOZE state, most views on the statusbar will be
invisible. This patch change the scrim to transparent again at leaving
DOZE state.
Bug: 148129743
Test: atest DozeScreenBrightnessTest
Change-Id: I1cf9d02c9e35dcb3e94cbbc24fec483c51e372d9
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions