Skip to content
Commit 95174051 authored by Lucas Dupin's avatar Lucas Dupin
Browse files

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
parent 830f6a36
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