My app stopped receiving boot broadcasting on Android 6 (it is working fine on Android 5).
I noticed in the log that the broadcast is being prevented:
I/BackgroundManagerService: prevent from boot complete broadcast: com.mycompany.app
Here is my AndroidManifest.xml:
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<application
...
<receiver android:name="plugin.kiosk.BootService">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
...
</application>
My app package name is : com.mycompany.app and my broadcast class is under a different package (plugin.kiosk).
Has anyone seen that problem? Any clues?
Update: I already tried changing to:
<receiver android:name="plugin.kiosk.BootService" android:enabled="true" android:exported="true" >
but same problem.
Update 2: Tried to add new action (below) and same issue.
<action android:name="android.intent.action.QUICKBOOT_POWERON" />