Skip to content

Instantly share code, notes, and snippets.

@laramartin
Last active August 14, 2017 22:22
Show Gist options
  • Save laramartin/c6989f6f4f4da04051bedf86189d6463 to your computer and use it in GitHub Desktop.
Save laramartin/c6989f6f4f4da04051bedf86189d6463 to your computer and use it in GitHub Desktop.
#!/bin/bash
adb shell settings put global sysui_demo_allowed 1
adb shell am broadcast -a com.android.systemui.demo -e command clock -e hhmm 1200
adb shell am broadcast -a com.android.systemui.demo -e command network -e mobile show -e level 4 -e datatype false
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 plugged false -e level 100
adb shell am broadcast -a com.android.systemui.demo -e command exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment