-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
42d4af4
commit f03ed3a
Showing
1 changed file
with
15 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# DemoModeTile | ||
You get a screenshot, you get a screenshot, everygets a screenshot! | ||
|
||
It's a very simple tool presented as a Quick Tile to simplify the process of setting up and activating Demo Mode. It's already pre-configured out of the box with perfect 7:00 clock, full WiFi, full signal and full battery icons for stunning clutter-free screenshots. | ||
|
||
For it to work you need to grant it two permissions through adb shell from your computer: | ||
|
||
``` | ||
adb -d shell pm grant com.franco.demomode android.permission.DUMP | ||
adb -d shell pm grant com.franco.demomode android.permission.WRITE_SECURE_SETTINGS | ||
``` | ||
|
||
The `DUMP` permission is required for the Demo Mode to actually work, and the `WRITE_SECURE_SETTINGS` is necessary for the Quick Tile to read the setting and present the correct icon depending on its state. | ||
|
||
Since these permissions can be a little scary, for transparency sake I've open sourced it https://github.com/franciscofranco/Demo-Mode-tile. |