I guess that's because I tried it on emulator. I don't have a device with JB to verify that same procedure works for real devices.
On Wednesday, July 18, 2012 7:58:10 PM UTC+3, vt wrote: > > On Friday, July 13, 2012 1:54:45 AM UTC-7, Ievgenii Nazaruk wrote: > > I've tested the "adb shell pm grant <pkg> android.permission.READ_LOGS" >> and can confirm that it enables READ_LOGS permission for my application. > > > How did you dodge "Operation not allowed: java.lang.SecurityException: > Neither user 2000 nor current process has > android.permission.GRANT_REVOKE_PERMISSIONS"? > > --vt > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en