commit | 8a0497caf98385fe3dfb4eb64ec7df1bff10a92e | [log] [tgz] |
---|---|---|
author | Josh Tsuji <tsuji@google.com> | Tue Feb 15 13:14:05 2022 -0500 |
committer | Josh Tsuji <tsuji@google.com> | Mon Mar 28 15:53:52 2022 -0400 |
tree | 9cea6078c107cce9683d027476c9910bb47d8e8c | |
parent | 017c695c8ca7e6d3cc61b490e53f01103d4c252a [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: I38a13adeb98cf22594eb55dd169144c546a2ef2a