when trying different adb arguments to list permissions, I noticed that some permissions appear only when using the "-g" argument (which organizes the listed permissions according to their groups. see -g: Organize by group, in http://developer.android.com/tools/help/adb.html#pm)
here's an example: "android.permission.SEND_SMS" appears in the API JavaDocs: http://developer.android.com/reference/android/Manifest.permission.html#SEND_SMS "android.permission.SEND_SMS" is defined in https://github.com/android/platform_frameworks_base/blob/master/core/res/AndroidManifest.xml and belongs to "android.permission-group.MESSAGES" group. when using adb with the Android SDK emulator: 1. "adb shell pm list permissions" output does Not include SEND_SMS 2. "adb shell pm list permissions -g" output Does include it: group:android.permission-group.MESSAGES > ... other permissions... > permission:android.permission.SEND_SMS > any idea why adb is not showing it? Is this a bug in adb, or am I missing the reason why it shows only with "-g"? thanks! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

