Skip to content

Commit 5343e13

Browse files
committed
fix(scripts): ensure demo mode is correctly enabled
1 parent 4d06a27 commit 5343e13

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

scripts/run-maestro-flows.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ pushd "${SCRIPT_DIR}"/../screenshots || exit 1
2222
# Delete any existing screenshots
2323
rm -rf ./*.png
2424

25+
# Allow demo mode to be enabled
26+
adb shell settings put global sysui_demo_allowed 1
27+
2528
# Enable Demo Mode on the device with the following settings
2629
# - Hide notification icons
2730
# - Set clock to 1200 hrs

0 commit comments

Comments
 (0)