I am working in an app that manages wifi
connections, I have the problem that in android 6.0
the wifi
scanning is off when the location services are turned off by the user.
What I want is to know if there is an action to which I can subscribe to listen when the user turns off and on the location services
. I have searched in Android documentation and there are two possible actions, but I am not sure which one to use.
The actions are
android.location.PROVIDERS_CHANGED
android.location.MODE_CHANGED
The Documentation is not helping me.