3

I want to list all apps with a specific permission. For instance, output the package names of apps with the VIBRATE permission. The apps with a specific permission then be revoked or enabled as instructed here.

adb shell 'pm list packages -e' outputs all packages.

4

1 Answer 1

0

You can try this:
adb shell cmd appops query-op PERMISSION
For example:
adb shell cmd appops query-op READ_CONTACTS

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .