appops 命令
不经意发现了appops,如何调用? 我没有root,不知可否 u0_a104@thea_ds:/ $ appopsusage: adb shell appops set <PACKAGE> <OP> <allow|ignore|deny|default> [--user <USER_ID>]
<PACKAGE> an Android package name.
<OP> an AppOps operation.
<USER_ID> the user id under which the package is installed. If --user is not
specified, the current user is assumed.
u0_a104@thea_ds:/ $ u0_a104@thea_ds:/ $ appops usage: adb shell appops set <PACKAGE> <OP> <allow|ignore|deny|default> [--user <USER_ID>] <PACKAGE> an Android package name. <OP> an AppOps operation. <USER_ID> the user id under which the package is installed. If --user is not specified, the current user is assumed. u0_a104@thea_ds:/ $ appops usage: adb shell appops set <PACKAGE> <OP> <allow|ignore|deny|default> [--user <USER_ID>] <PACKAGE> an Android package name. <OP> an AppOps operation. <USER_ID> the user id under which the package is installed. If --user is not specified, the current user is assumed
页:
[1]