fix(scripts): ensure demo mode is correctly enabled

This commit is contained in:
Harsh Shandilya 2023-06-08 19:55:55 +05:30
parent 4d06a2722c
commit 5343e13215
No known key found for this signature in database

View file

@ -22,6 +22,9 @@ pushd "${SCRIPT_DIR}"/../screenshots || exit 1
# Delete any existing screenshots
rm -rf ./*.png
# Allow demo mode to be enabled
adb shell settings put global sysui_demo_allowed 1
# Enable Demo Mode on the device with the following settings
# - Hide notification icons
# - Set clock to 1200 hrs