Resume-on-Reboot: normalize screen state
Sometimes devices have screensaver or doze mode enabled when coming into
this test. Try to normalize the state to have more consistent pass/fail
rates.
Bug: 149866808
Test: adb shell settings secure put screensaver_enabled 1; \
adb shell settings secure put screensaver_activate_on_sleep 1; \
adb shell settings secure put doze_enabled 1; \
adb shell settings secure put doze_always_on 1; \
atest CtsAppSecurityHostTestCases:ResumeOnRebootHostTest
Change-Id: Ib0dc6ab3806635b88411dcfe52667b8290295d72
2 files changed