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
Bạn sẽ có được một ảnh chụp màn hình, bạn sẽ có được một ảnh chụp màn hình, everygets một ảnh chụp màn hình!
Đó là một công cụ rất đơn giản trình bày như là một Tile nhanh để đơn giản hóa quá trình thiết lập và kích hoạt Demo Mode. Nó đã được cấu hình trước ra khỏi hộp với hoàn hảo 07:00 đồng hồ, WiFi đầy đủ, tín hiệu đầy đủ và các biểu tượng pin đầy đủ cho ảnh chụp màn hình lộn xộn-miễn phí tuyệt đẹp.
Đối với nó để làm việc bạn cần phải cấp cho nó hai quyền thông qua adb shell từ máy tính của bạn:
adb shell pm -d cấp com.franco.demomode android.permission.DUMP
adb -d android.permission.WRITE_SECURE_SETTINGS com.franco.demomode shell pm cấp
Việc cho phép DUMP là cần thiết cho chế độ Demo để thực sự làm việc, và WRITE_SECURE_SETTINGS là cần thiết cho việc Ngói nhanh để đọc các thiết lập và trình bày các biểu tượng chính xác tùy thuộc vào trạng thái của nó.
Bởi vì những quyền có thể là một chút đáng sợ, cho minh bạch vì tôi đã mở nguồn nó https://github.com/franciscofranco/Demo-Mode-tile