commit | 7755d00cc51c4250446f4521eea941a964a37d7a | [log] [tgz] |
---|---|---|
author | Josh Tsuji <tsuji@google.com> | Tue Feb 15 13:14:05 2022 -0500 |
committer | Josh Tsuji <tsuji@google.com> | Mon Feb 28 12:50:31 2022 -0500 |
tree | fadba4326c33446ec9eb68f82f81d5c8dac2769f | |
parent | 09076f0af2715438fd5ceeb052424f1ee0c936cf [diff] |
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: Id0a3d4ad48ff48175e23b2b31315a156cacad503