Skip to content Skip to sidebar Skip to footer

Broadcast Receiver With AIRPLANE_MODE Not Working With SDK 26

Normaly, I use a simple code to put a Toast when the user change the AIRPLANE_MODE, and it work using targetSdkVersion 25. My AirPlaneModeReceiver : public class AirPlaneModeRe

Solution 1:

As per documentation:

you should remove any broadcast receivers that are registered for implicit broadcast intents.

https://developer.android.com/about/versions/oreo/android-8.0-migration.html

see Section "Remove broadcast receivers from your manifest file"


Post a Comment for "Broadcast Receiver With AIRPLANE_MODE Not Working With SDK 26"