Skip to content
Commit 2f2d03d1 authored by Chris.CC Lee's avatar Chris.CC Lee
Browse files

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
parent 99e390e9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment