Skip to content
Snippets Groups Projects
Verified Commit daf5db47 authored by Torsten Grote's avatar Torsten Grote
Browse files
parent be2d6951
No related branches found
No related tags found
No related merge requests found
......@@ -19,8 +19,10 @@ platform :android do
desc "Takes screenshots for manual and Google Play"
lane :screenshots do
gradle(project_dir: "..", task: "assembleScreenshot assembleAndroidTest")
system './demo-mode-activate.sh'
capture_android_screenshots
system './rename_screenshots.py'
system './demo-mode-deactivate.sh'
system './rename_screenshots.py'
end
end
......
#!/usr/bin/env bash
adb shell settings put global sysui_demo_allowed 1
adb shell am broadcast -a com.android.systemui.demo -e command enter
adb shell am broadcast -a com.android.systemui.demo -e command notifications -e visible false
adb shell am broadcast -a com.android.systemui.demo -e command battery -e level 100
adb shell am broadcast -a com.android.systemui.demo -e command network -e wifi show
adb shell am broadcast -a com.android.systemui.demo -e command clock -e hhmm 1337
\ No newline at end of file
#!/usr/bin/env bash
adb shell am broadcast -a com.android.systemui.demo -e command exit
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment