4 ms·
That's a bizarre conclusion to come to. The real motivation is that if you know apps are reflecting into your internal implementation details, and you want to m
by jmgao 8y ago
That's a bizarre conclusion to come to. The real motivation is that if you know apps are reflecting into your internal implementation details, and you want to make a change, you're stuck with a bunch of bad choices.
1. Break the apps.
Users tend to get annoyed when they upgrade the OS and their apps stop working.
2. Maintain a compatibility shim.
Depending on what the change you're making does, this might not even be possible. Assuming that it is possible, how do you know what needs a shim and what behavior is actually expected?
3. Give up and do something else instead.
Things get worse if you consider that OEMs may want to modify implementations as well, so you'll end up with apps that work, except on some devices. There's no sensible way to prevent app breakage when there are apps depending on your internal (and explicitly private) API; the solution is enforcement.
- solarkraft 8y agoBreak the apps. Undocumented APIs can not be relied on. Of course it's a shame they were available/undocumented in the first place, but at least they are finally fixing this.
- nunez 8y agoDumb question: isn’t this what the Google Play submission process is for?
- pjmlp 8y agoYes, the problem is that many use private APIs to get around bugs that never get fixed, or even if they do, never reach customer devices. Google is promising that now things will be different, take it with the usual skepticism.