Skip to content
Commit 96e3b2af authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Also go to sleep when dozing

Since always-on-screen shows over an occluded activity, we also
need to go to sleep to in that case. Now, we could introduce
another sleep token that's controlled by SystemUI. But that's a
bit complicated. It's much simpler to unconditionally go to sleep
whenever we are dozing.

Test: With always-on-device, open occluded activity, turn off
screen, make sure activity pauses.
Fixes: 62679291

Change-Id: Icd64037d33cc523e498a0a9f5f7df939304e02ed
parent 8b44d372
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