diff options
author | Chris.CC Lee <chriscclee@google.com> | 2020-02-04 11:48:15 +0800 |
---|---|---|
committer | Chris.CC Lee <chriscclee@google.com> | 2020-02-04 11:48:15 +0800 |
commit | 2f2d03d12f294862e3207d680fe139b1c76556f6 (patch) | |
tree | 0a955a6c52b22b6556c4e65b5109077327885cde /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 99e390e9af80fc10f651bbf1dd78ed19737cf4c0 (diff) |
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: I26f04664eec7a12e2a295c8906cf75a2b89da811
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions