I´m updating an app to Marshmallow so I need to contemplate that the user could revocate permissions at runtime.
I know that when the user open the app, if some permissions are not enabled, then it will appear a dialog asking for those permissions. Whether which option is selected, the onRequestPermissionsResult
will be called.
However, which method is called when the user disabled permissions from settings? I have a service running in the app, so if one of the permissions is disabled I should stop the service. Is there a way to do this, without entering in the app?
If more information is needed, just tell me!