In one of my applications in the playback store, there is a BOOT_COMPLETED receiver, and it never had problems before S4, I received several emails from S4 users, stating that the application was not working, and after some troubleshooting, the BOOT_COMPLETED receiver BOOT_COMPLETED not receive the call.
Does anyone know how to fix this for this particular device?
Here is the main code:
public class BootCompletedIntentReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { if ("android.intent.action.BOOT_COMPLETED".equals(intent.getAction())) { ... ...
Manifesto:
<receiver android:name=".BootCompletedIntentReceiver" > <intent-filter> <action android:name="android.intent.action.BOOT_COMPLETED" /> </intent-filter> </receiver>
Of course, I have the correct permission:
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
source share