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
Anda mendapatkan screenshot, Anda mendapatkan screenshot, everygets screenshot!
Ini adalah alat yang sangat sederhana disajikan sebagai Tile Cepat untuk menyederhanakan proses pengaturan dan mengaktifkan Demo Mode. Ini sudah pra-dikonfigurasi di luar kotak dengan sempurna 7:00 jam, WiFi penuh, sinyal penuh dan ikon baterai penuh untuk screenshot kekacauan-bebas yang menakjubkan.
Untuk itu untuk bekerja Anda harus memberikannya dua izin melalui shell adb dari komputer Anda:
adb -d shell pm hibah com.franco.demomode android.permission.DUMP
adb -d android.permission.WRITE_SECURE_SETTINGS com.franco.demomode shell pm hibah
Izin DUMP diperlukan untuk Mode Demo untuk benar-benar bekerja, dan WRITE_SECURE_SETTINGS diperlukan untuk Tile Cepat untuk membaca pengaturan dan menyajikan ikon yang benar tergantung pada keadaan.
Sejak izin ini dapat sedikit menakutkan, demi transparansi saya sudah terbuka bersumber itu https://github.com/franciscofranco/Demo-Mode-tile