Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Turn off app permissions programmatically

How can I deny certain app permissions programatically or deny all app permissions at once in marshmallow?

I do not want to revoke them, I just want to turn them off from my app, not through app settings. I know I can use Intent to open app settings and change them that way. That's not an option for me.

Thanks!

like image 733
Vladimir Petrovski Avatar asked Sep 07 '25 10:09

Vladimir Petrovski


1 Answers

It is not posible. this contradicts the whole idea of permission, maybe you will find a way to do it, it will be corrected in the next secyrty patch.

like image 96
Vova Avatar answered Sep 09 '25 02:09

Vova