QuickDemo is a tool for Android developers. If you don't know what this application is for, do not use it!
To enable QuickDemo you need to do two things.
- Enable the System UI demo mode on your phone.
- Grant the
android.permission.DUMP
to the QuickDemo app. This permissions is protected and can't be requested at runtime.
This can be achieved by running the following gradle
task.
./gradlew setupDemoMode
If you don't have the project. Both steps can be performed manually from command line via adb
.
# Ensure demo mode is activated.
adb shell settings put global sysui_demo_allowed 1
# Grant required permissions.
adb shell pm grant com.pspdfkit.labs.quickdemo android.permission.DUMP
Please note: The permissions is granted until you revoke it or uninstall the app.