Skip to content

Instantly share code, notes, and snippets.

@Malinskiy
Last active August 29, 2017 15:37
Show Gist options
  • Save Malinskiy/aae5f0a1ce6ad7b6227ce5561bedb2cb to your computer and use it in GitHub Desktop.
Save Malinskiy/aae5f0a1ce6ad7b6227ce5561bedb2cb to your computer and use it in GitHub Desktop.
test-butler permissions declaration
<!-- Allows an application to watch and control how activities are started globally in the system. -->
<permission android:name="android.permission.SET_ACTIVITY_WATCHER" android:protectionLevel="signature" />
<!-- Allows an application to grant specific permissions. -->
<permission android:name="android.permission.GRANT_RUNTIME_PERMISSIONS" android:protectionLevel="signature|installer|verifier" />
<!-- Modify the global animation scaling factor. -->
<permission android:name="android.permission.SET_ANIMATION_SCALE" android:protectionLevel="signature|privileged|development" />
<!-- Allows an application to modify the current configuration, such as locale. -->
<permission android:name="android.permission.CHANGE_CONFIGURATION" android:protectionLevel="signature|privileged|development" />
<!-- Allows an application to read or write the secure system settings. -->
<permission android:name="android.permission.WRITE_SECURE_SETTINGS" android:protectionLevel="signature|privileged|development" />
<!-- Allows applications to disable the keyguard if it is not secure. -->
<permission android:name="android.permission.DISABLE_KEYGUARD" .... android:protectionLevel="normal" />
<!-- Allows using PowerManager WakeLocks to keep processor from sleeping or screen from dimming. -->
<permission android:name="android.permission.WAKE_LOCK" ... android:protectionLevel="normal" />
<!-- Allows applications to access information about Wi-Fi networks. -->
<permission android:name="android.permission.ACCESS_WIFI_STATE" ... android:protectionLevel="normal" />
<!-- Allows applications to change Wi-Fi connectivity state. -->
<permission android:name="android.permission.CHANGE_WIFI_STATE" ... android:protectionLevel="normal" />
<!-- Allows an application to read or write the system settings. -->
<permission android:name="android.permission.WRITE_SETTINGS" ... android:protectionLevel="signature|preinstalled|appop|pre23" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment