Vladimir Petrovski
Vladimir Petrovski

Reputation: 2086

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!

Upvotes: 28

Views: 8803

Answers (1)

Vova
Vova

Reputation: 1091

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.

Upvotes: 1

Related Questions