diff options
| author | 2023-03-21 19:24:54 +0000 | |
|---|---|---|
| committer | 2023-03-22 15:25:19 +0000 | |
| commit | 1129df1b168271642f1c4da09b9845d038e33b4d (patch) | |
| tree | 0ec0f08cb1da4fafa05aebf926fdb7588f1b1937 /api/api.go | |
| parent | c82fa1ff239b04b938db0aa64ec197cfdfdfe33b (diff) | |
Only restart the sleep state if SysUI was dozing
Screensaver (other non-sysi dreams) are handled by other apps, so
if SysUI crashes then SysUI isn't responsible for starting back up those
dreams. SysUI is only responsible for restarting doze/AOD.
Test: atest RestartDozeListenerTest
Test: manually crash systemui (adb shell am crash com.android.systemui)
from: awake, doze, aod (if possible), and screensaver and observe
that after a few seconds from the restart, the device is in the same
awake/doze/aod/screensaver state
Fixes: 273963292
Change-Id: I7f19831ea04d97fea3e64d43dbefcd517ba3d2a5
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions