Merge "Address some comments for the soft restriction CL" into qt-dev
am: 2cf92e602a
Change-Id: I4fc612636cf9168166ccccb85086e5bab171ad54
This commit is contained in:
@@ -1509,11 +1509,6 @@ public class PackageInstaller {
|
||||
* state of the permission can be determined only at install time and cannot be
|
||||
* changed on updated or at a later point via the package manager APIs.
|
||||
*
|
||||
* <p>The whitelisted non-immutably restricted permissions would be added to
|
||||
* the {@link PackageManager#FLAG_PERMISSION_WHITELIST_INSTALLER installer whitelist}
|
||||
* while the immutably restricted permissions would be added to the {@link
|
||||
* PackageManager#FLAG_PERMISSION_WHITELIST_SYSTEM system whitelist}
|
||||
*
|
||||
* @see PackageManager#addWhitelistedRestrictedPermission(String, String, int)
|
||||
* @see PackageManager#removeWhitelistedRestrictedPermission(String, String, int)
|
||||
*/
|
||||
|
||||
@@ -3292,7 +3292,7 @@ public class AppOpsService extends IAppOpsService.Stub {
|
||||
pw.println(" Starts a given operation for a particular application.");
|
||||
pw.println(" stop [--user <USER_ID>] <PACKAGE | UID> <OP> ");
|
||||
pw.println(" Stops a given operation for a particular application.");
|
||||
pw.println(" set [--user <USER_ID>] <--uid PACKAGE | PACKAGE | UID> <OP> <MODE>");
|
||||
pw.println(" set [--user <USER_ID>] <[--uid] PACKAGE | UID> <OP> <MODE>");
|
||||
pw.println(" Set the mode for a particular application and operation.");
|
||||
pw.println(" get [--user <USER_ID>] <PACKAGE | UID> [<OP>]");
|
||||
pw.println(" Return the mode for a particular application and optional operation.");
|
||||
@@ -3305,12 +3305,11 @@ public class AppOpsService extends IAppOpsService.Stub {
|
||||
pw.println(" read-settings");
|
||||
pw.println(" Read the last written settings, replacing current state in RAM.");
|
||||
pw.println(" options:");
|
||||
pw.println(" <PACKAGE> an Android package name.");
|
||||
pw.println(" <PACKAGE> an Android package name or its UID if prefixed by --uid");
|
||||
pw.println(" <OP> an AppOps operation.");
|
||||
pw.println(" <MODE> one of allow, ignore, deny, or default");
|
||||
pw.println(" <USER_ID> the user id under which the package is installed. If --user is not");
|
||||
pw.println(" specified, the current user is assumed.");
|
||||
pw.println(" --uid PACKAGE refer to the UID of the package");
|
||||
}
|
||||
|
||||
static int onShellCommand(Shell shell, String cmd) {
|
||||
|
||||
Reference in New Issue
Block a user