by noirscape · 2y ago · 0 comments
There's three states of permissions in android land from a permission request perspective:
* Granted. Just full access to all things behind the permission, no questions asked.
* Ignore. Returns no rejection, but all permission-restricted functions will return no/default data. This can technically be checked for by the app but usually isn't.
* Deny. No data, return an explicit error to the app to tell them the permission isn't granted.
For some reason that second one isn't available for the default UX; you need to manually set it with ADB or use App Ops to do it.
You can just activate it, change the settings and disable it afterwards. Pretty annoying but it is what it is.
This doesn't require root either, although enabling USB debugging is an important step towards rooting, which is probably why you think it's related.