-grant <PACKAGE_PERMISSION>
+grant <PACKAGE_NAME> <PERMISSION>
|
-Grant permissions
- to applications. Only optional permissions the application has
- declared can be granted.
+ | Grant a permission to an app. On devices running Android 6.0 (API level 23)
+and higher, may be any permission declared in the app manifest. On devices
+running Android 5.1 (API level 22) and lower, must be an optional permission defined by the
+app.
|
-revoke <PACKAGE_PERMISSION>
+revoke <PACKAGE_NAME> <PERMISSION>
|
-Revoke permissions
- to applications. Only optional permissions the application has
- declared can be revoked.
+ | Revoke a permission from an app. On devices running Android 6.0 (API level
+23) and higher, may be any permission declared in the app manifest. On devices
+running Android 5.1 (API level 22) and lower, must be an optional permission defined by the
+app.
|
@@ -895,4 +898,4 @@ $ adb pull /sdcard/demo.mp4