haonan12300 发表于 2015-10-3 23:20

appops 命令

不经意发现了appops,如何调用? 我没有root,不知可否

haonan12300 发表于 2015-10-3 23:22

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:/ $

haonan12300 发表于 2015-10-3 23:23

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.

haonan12300 发表于 2015-10-3 23:23

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]
查看完整版本: appops 命令