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
Loading
Please register or sign in to comment