6 ms·
Or, rather, it could be because the feature was unfinished and tended to crash applications when they don't get the stuff that's called for (and the user author
by Karunamon 13y ago
Or, rather, it could be because the feature was unfinished and tended to crash applications when they don't get the stuff that's called for (and the user authorized) on the permission manifest.
http://pocketnow.com/2013/12/17/app-ops http://pocketnow.com/2013/12/17/app-ops
Something something malice stupidity. But no, let's bring out the torches and pitchforks...
- Zigurd 13y agoThis is about the easiest change for developers to accommodate. All they need to do is handle one exception. Most of the permission bloat on Android comes from ad network libraries that do a crappy job of behavioral targeting anyway. Turning off that kind of obnoxious data exfiltration isn't going to hurt anyone, least of all the user. I don't recall there being an outcry over how painful it was to use permission revocation.
- madeofpalk 13y ago> This is about the easiest change for developers to accommodate. All they need to do is handle one exception. But apps didnt have to handle that exception before. If permissions are rejected, it should just return empty data.
- Karunamon 13y agoRandom dummy data would be even better - if you return blank, you give the app a way to know that it's being blocked. Apps are guests in the user's back yard, not the other way around.
- madeofpalk 13y agoApps should be able to know what permission they currently have - there's very little (if any) breach of privacy from that. I'm just talking about preventing apps from crashing if they don't handle revoked permissions properly.
- mindslight 13y agoErm, no they should not. The same breach of privacy will occur when an app just re-implements the demanding of a permission. "This camera app will not run without access to your list of contacts. Enable Contact List Access and restart to proceed". If the phone is mine, then I should be able to easily set it to lie on my behalf to protect my interests.
- micampe 13y agoOn iOS you can disable any permission at any time for any application and it's plainly explicit in the API. I've never seen any application do what you describe. The typical example people make is Facebook, which they assume would block you if denied your location but instead works just fine when you remove access to location, camera, photos, and contacts. I don't see why they would behave differently on Android.
- mindslight 13y agoFor the straightforward example I gave there would be a backlash, especially for the bigger names. But that doesn't mean it's a stable situation, or that other examples wouldn't escape outrage in a different context - "This video can only be played if you enable Location Permission so that we can verify you are in the correct region." The goal when designing an interface should be to get it right, not to make something that works for now but will just have to be patched up again later. For many permissions, it would be advantageous for the user to not even outright deny, but to return a subset or otherwise modified data - only one contact group, fixed location data, filtered Internet, etc. This of course sounds like heresy to app developers, and that's exactly the point - it's the user's device.
- micampe 13y agoAs I said, your conjecture is proved wrong by reality.
- 13y ago
- jljljl 13y agoHow do you provide random dummy data for a Contact List permission without a) running the risk of crashing the app, or b) making it obvious to the app that it's receiving dummy data? Is android supposed to return a well structured list of fake names and emails? Would instagram show me a list of made up names and user id's if I faked my contacts?
- userbinator 13y agoIf Android has a way of faking location data, I don't see why a contact list would be any different: https://developer.android.com/training/location/location-testing.html https://developer.android.com/training/location/location-tes...
- chinpokomon 13y agoConsiderably different. Mock location data simply provides the location you want over ADB. It is a supplied value.
- userbinator 13y agoIt doesn't need ADB. There's an app for that: https://play.google.com/store/apps/details?id=com.lexa.fakegps https://play.google.com/store/apps/details?id=com.lexa.fakeg... So it is similar in that you could conceivably have an app that manages fake contact lists' data.
- chinpokomon 13y agoTrue, but that is just performing the same data mocking that the ADB method uses. It really doesn't change my statement.
- Karunamon 13y agohttp://www.fakenamegenerator.com/ http://www.fakenamegenerator.com/ This exists. Something similar is hardly out of Google's reach.
- veeti 13y ago> This is about the easiest change for developers to accommodate. All they need to do is handle one exception. One exception, possibly in hundreds of different places in the code. What a ridiculous assumption to make: "just about the easiest change"? Seriously? Adding real permission revoking into Android at this point is a total no-go. The real solutions to this issue are App Ops (which transparently stubs out API's by returning blank data or simply ignoring calls) and optional permissions (for developers) in cases like temporary access to contacts. Both already exist in the AOSP codebase in one way or another. Only the settings UI for app ops is gone, and optional permissions are under work [1]. [1] https://android.googlesource.com/platform/frameworks/base/+/828c16f140eadb9265f2bf53469902dc7cdb2284 https://android.googlesource.com/platform/frameworks/base/+/...
- dilap 13y agoI'm a user/dev on the iOS side, and you're definitely right that apps need to be coded to specifically handle cases where they don't get permissions, but... ...this stuff is critical! Give the user the control, let them break the apps that are over-using permissions, and let the apps update to fix. You can do this in a pretty intuitive, nice way too -- include a flag in apps that says they've been updated to handle partial permissions correctly, and then if an app that hasn't been updated crashes w/ reduced permissions, throw up a dialog explaining that (1) the devs need to update the app (2) if the app not crashing is critical for the moment, the user should lift the permissions restrictions. Arguments for "simplicity" seem unconvincing to me -- you want to avoid non-essential complexity to achieve simplicity, but this stuff is important to all users.
- mortenjorck 13y agoWhat happens today if an app requires address book access but the user has an empty address book? What happens today if an app requires calendar access but the user has never added anything to the calendar? What happens today if an app requires location but the user is out of both GPS coverage and wi-fi range? App Ops should simply be passing apps the results of the above cases when denying them to a an app built for the current Android permissions system.
- Karunamon 13y agoThe app receives an empty address book (as opposed to NO address book), an empty calendar (as opposed to NO calendar), and in your location case, the app gets the "rough" location provided by the cell network. Throw nulls (or better yet, exceptions) where an application expects parseable data (and given the current permission paradigm, has every right to expect usable data) and you can very reasonably expect breakage. This is why the feature needs to cook for longer, not some malice aforethought on Google's part as GP claims.
- mortenjorck 13y agoI don't think you're understanding what I'm suggesting. Yes, throw nulls if the APK identifies itself as supporting App Ops. If it doesn't, well, of course it's going to break when you throw nulls at it. Build a compatibility layer as I described above, and the app will continue to get parseable data when it requests parseable data.