Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f950399c authored by Beverly's avatar Beverly Committed by Beverly Tai
Browse files

Refactor doze suppressors into its own class

There are multiple ways doze/aod can be suppressed/blocked. This
CL consolidates the majority of the logic to DozeSuppressor.java
and breaks apart the terminology `doze suppressed` (which refers to
the entire doze experience) from `always on suppressed` (which refers
to only suppressing always-on-display, but continuing to register
for wake-up-gestures).

+ Added DozeSuppressorTests
+ Added extra logging to DozeLog

Test: atest SystemUITests
Test: atest DozeSuppressorTest
Bug: 218509239
Change-Id: I8cec55d57b67a6e171849febabf8e92804d74f4e
parent d62c6e6c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment