Background execution not allowed: receiving Intent

08-03 08:32:33.461 W/BroadcastQueue( 653): Background execution not allowed: receiving Intent { act=android.intent.action.BOOT_COMPLETED flg=0x400010 } to ro.pub.acs.startonboot/.StartMyActivityAtBootReceiver

Solution: specify the package name in command

adb shell am broadcast -a android.intent.action.BOOT_COMPLETED -n ro.pub.acs.startonboot/.StartMyActivityAtBootReceiver

test with https://github.com/raduciobanu/startonboot