Hi All,

I'm trying to list the permissions granted to an app over adb. I can
get all the permissions on a system with:

    $ adb shell pm list permissions

However, when I try to restrict it to an app, the restriction appears
to be ignored:

    $ adb shell pm list permissions com.android.keychain
    All Permissions:

    permission:com.htc.home.personalize.permission.WRITE_SCENES
    permission:android.permission.INTERNAL_SYSTEM_WINDOW
    permission:com.swype.android.inputmethod.PRIVATE_COMMANDS
    ...

https://developer.android.com/guide/topics/security/permissions.html
does not appear to offer any commands.

How does one list app permissions with adb shell?

Jeff

-- 
You received this message because you are subscribed to the Google Groups 
"Android Security Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-security-discuss+unsubscr...@googlegroups.com.
To post to this group, send email to android-security-discuss@googlegroups.com.
Visit this group at http://groups.google.com/group/android-security-discuss.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to