I pointed this question at a friend and he got back to me with an answer. Turns out that broadcast got turned into a protected broadcast a few months ago. Check out this commit: https://github.com/android/platform_frameworks_base/commit/8f014059d3084fcce9e82b4b1f8b8323744ac52d
On Thursday, August 2, 2012 9:00:15 AM UTC-4, Incorporate Apps wrote: > > As of JB 4.1 Google has introduced some sort of permission check on this > broadcastreceiver. Does anyone know what permission is needed, either in > > sendOrderedBroadcast or in the manifest? > > > Here is the error > > java.lang.SecurityException: Permission Denial: not allowed to send broadcast > android.intent.action.HEADSET_PLUG > > -- 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

