Hacker News new | past | comments | ask | show | jobs | submit login

Yeah, because checking return codes and error values is overrated

Thanks Google, for making my phone less secure.




Yeah, because checking return codes and error values is overrated

Even Google's own non-AOSP camera is guilty of this too.

The API docs says an app should check for camera capabilities before using them. Still the PhotoSphere feature in Google's non-AOSP camera attempts to set Flash-settings on devices with no flash-capability.

To overcome the issue you have to rewrite the camera-interface code to ignore API calls to SetFlash, SetLightmode etc when not supported, instead of throwing as you should be doing according to the docs.

So yeah. Even Google is guilty of this one.


Google is one of the worse offenders when it comes to not following android guidelines. Their apps consistently break back button behavior, don't follow UI guidelines, etc.


By allowing you to install software they make your phone less secure. Better buy a feature phone ASAP!


It was never official, it was never announced nor documented.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: