
3 Jul
2013
3 Jul
'13
6:16 a.m.
Brian May <brian@microcomaustralia.com.au> wrote:
To be fair, it is a weakness in the Android permission model.
Basically the app says "I want this privilege and I expect it to be available." meaning app might crash or do weird things if privilege is not available.
Instead it should be "Please can I have this permission?" and Android can say "Yes" or "No" depending on the user's preference, and app has to handle the result in a graceful way (yes, this could mean throwing up an error message and refusing to run).
Yes, exactly. Probably the closest analogue in (non-Android) Linux installations is PolicyKit under Gnome, and I'm not sure how that works in this regard.