Loading docs/html/tools/help/shell.jd +11 −8 Original line number Diff line number Diff line Loading @@ -570,6 +570,7 @@ install [options] <PATH> <li>{@code -s}: Install package on the shared mass storage (such as sdcard). <li>{@code -f}: Install package on the internal system memory. <li>{@code -d}: Allow version code downgrade. <li>{@code -g}: Grant all permissions listed in the app manifest. </ul> </td> </tr> Loading Loading @@ -622,21 +623,23 @@ disable-user [options] <PACKAGE_OR_COMPONENT> <tr> <td><code> grant <PACKAGE_PERMISSION> grant <PACKAGE_NAME> <PERMISSION> </code></td> <td>Grant permissions to applications. Only optional permissions the application has declared can be granted. <td>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. </td> </tr> <tr> <td><code> revoke <PACKAGE_PERMISSION> revoke <PACKAGE_NAME> <PERMISSION> </code></td> <td>Revoke permissions to applications. Only optional permissions the application has declared can be revoked. <td>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. </td> </tr> Loading Loading
docs/html/tools/help/shell.jd +11 −8 Original line number Diff line number Diff line Loading @@ -570,6 +570,7 @@ install [options] <PATH> <li>{@code -s}: Install package on the shared mass storage (such as sdcard). <li>{@code -f}: Install package on the internal system memory. <li>{@code -d}: Allow version code downgrade. <li>{@code -g}: Grant all permissions listed in the app manifest. </ul> </td> </tr> Loading Loading @@ -622,21 +623,23 @@ disable-user [options] <PACKAGE_OR_COMPONENT> <tr> <td><code> grant <PACKAGE_PERMISSION> grant <PACKAGE_NAME> <PERMISSION> </code></td> <td>Grant permissions to applications. Only optional permissions the application has declared can be granted. <td>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. </td> </tr> <tr> <td><code> revoke <PACKAGE_PERMISSION> revoke <PACKAGE_NAME> <PERMISSION> </code></td> <td>Revoke permissions to applications. Only optional permissions the application has declared can be revoked. <td>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. </td> </tr> Loading