diff options
| author | Lucas Dupin <dupin@google.com> | 2020-07-21 15:20:11 -0700 |
|---|---|---|
| committer | Lucas Dupin <dupin@google.com> | 2020-07-21 15:20:11 -0700 |
| commit | 95174051ec9a2829a35fad5be92c94081652e29f (patch) | |
| tree | 2a5732a0e2ff43e273010c0d8fa5ec810c42ac86 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
| 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
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions
