How can I disable certain application permissions programmatically or disable all application permissions at once in marshmallows?
I do not want to cancel them, I just want to disconnect them from my application, and not through the application settings. I know that I can use Intent to open application settings and change them that way. This is not an option for me.
Thanks!
source share