Use demo mode when taking screenshots to clear status bar

https://android.googlesource.com/platform/frameworks/base/+/master/packages/SystemUI/docs/demo_mode.md
This commit is contained in:
Torsten Grote
2018-07-25 16:46:23 -03:00
parent be2d695150
commit daf5db470f
3 changed files with 12 additions and 1 deletions

View File

@@ -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