commit | 95174051ec9a2829a35fad5be92c94081652e29f | [log] [tgz] |
---|---|---|
author | Lucas Dupin <dupin@google.com> | Tue Jul 21 15:20:11 2020 -0700 |
committer | Lucas Dupin <dupin@google.com> | Tue Jul 21 15:20:11 2020 -0700 |
tree | 2a5732a0e2ff43e273010c0d8fa5ec810c42ac86 | |
parent | 830f6a36c8bf21194d3b519350f6687511784a92 [diff] |
Do not animate NSSL when in battery saver Until now, we were only checking if the screen shold turn off on the DozeMachine. This works but doesn't propagate the always-on state properly to other parts of SysUI. It's a better idea to hide the implementation detail under DozeParameters, which is a singleton that's shared with other parts of the system. Test: manual Test: atest DozeParametersTest Fixes: 158771494 Change-Id: Ifd43b9b1ea247f4e869505f02d6716400de35091