commit | 10383655a4396253c238a4c2d44b9d4511737629 | [log] [tgz] |
---|---|---|
author | Matt Pietal <mpietal@google.com> | Fri Mar 03 19:28:16 2023 +0000 |
committer | Matt Pietal <mpietal@google.com> | Fri Mar 03 19:28:16 2023 +0000 |
tree | 7ea9398c4b52d7a9195f33c4ad725222c3266c08 | |
parent | 600c1d8a5f741052ef8152cc002f474f3231ad62 [diff] |
Notify ScreenOffController of battery saver change It was previously listening for AOD setting changes only, and ingorning when the battery saver was disabling AOD. This caused animations to run (showAodUI) that put statusbarstate into a stuck KEYGUARD state when it should've been SHADE. Fixes: 270910479 Test: atest DozeParametersTest Test: manual, start with unfolded device, turn on batter saver, fold it, and then unlock Change-Id: Iae586f9a2b86f19502f3d66165b633b1c9fc5f7f