Comment

Comment by noirscape

Dummy/empty data is already a thing in Android if I'm not mistaken. It just needs ADB/App Ops to activate it.

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.

parent noirscape 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton