My favorites | Sign in
Project Home Issues
New issue   Search
  Advanced search   Search tips   Subscriptions
Issue 14044: RECEIVE_BOOT_COMPLETED not required for BOOT_COMPLETED broadcast
20 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----

Sign in to add a comment
Reported by, Jan 15, 2011
Environment: Android 2.2 (emulator, Nexus One) and Android 2.3 (Nexus S)

Symptoms: You can register a BOOT_COMPLETED broadcast receiver, which will get control even if RECEIVE_BOOT_COMPLETED is not requested as a permission.

Sample code: grab, comment out the RECEIVE_BOOT_COMPLETED permission, install, and test. You will see the "Hi, Mom!" logged by the BroadcastReceiever.

Dec 6, 2011
"Bug" reproduced on Tablet SG 10.1, Android 3.1
Feb 8, 2012
Appears to be fixed in ICS
Oct 11, 2012
This issue is still reproducible on JB.
Jul 15, 2013
I don't reproduce this bug in the emulator running Android 4.2.2. I get this error:

07-15 11:55:26.011: W/BroadcastQueue(306): Permission Denial: receiving Intent { act=android.intent.action.BOOT_COMPLETED flg=0x10 (has extras) } to com.example.myapp.debug/com.example.myapp.BootReceiver requires android.permission.RECEIVE_BOOT_COMPLETED due to sender null (uid 1000)

A project member may want to verify and update the status.

Sign in to add a comment

Powered by Google Project Hosting