Skip to content
Commit 8a0497ca authored by Josh Tsuji's avatar Josh Tsuji
Browse files

Fix shouldControlUnlockedScreenOff.

This was currently returning true and starting the animation even if
DozeParameters#canControlScreenOff is false. This resulted in
inconsistent state when AOD was disabled, which resulted in blank
screens if the screenoff animation is interrupted.

Fixes: 219043099
Test: atest SystemUITests
Test: atest PlatformScenarioTests:android.platform.test.scenario.sysui.lockscreen
Change-Id: I38a13adeb98cf22594eb55dd169144c546a2ef2a
parent 017c695c
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