-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates emulator setup script to ensure that demo mode is turned on.
- Loading branch information
Showing
1 changed file
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
#!/bin/bash | ||
|
||
adb wait-for-devices | ||
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 clock -e hhmm 1234 | ||
adb shell am broadcast -a com.android.systemui.demo -e command battery -e level 100 -e plugged 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 | ||
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 -e level 4 | ||
adb shell am broadcast -a com.android.systemui.demo -e command network -e mobile show -e datatype none -e level 4 | ||
adb shell am broadcast -a com.android.systemui.demo -e command notifications -e visible false | ||
adb shell cmd overlay enable com.android.internal.systemui.navbar.gestural |