Is there any way to detect permission status change in Android Marshmallow?
I did not see the broadcast for this ...
Permissions cannot be changed in the middle of the application. If the permission is changed → the application restarts. There is no translation - you should check every time, but this is normal, only when your application starts.
Not. You will not receive any broadcast for her. Each time you call a function that needs permission, you need to check whether permission is granted or not.
Android provided a sample RuntimePermissions and MainActivity app. showCamera (View view) will give you an idea of developing your methods. And check out Android Marshmallow 6.0: Request Permission to Better Design Your Application.
You must check the resolution every time you use. For your simplicity, you can use the PermissionAcceptor-master library.