Project: titanium
Issue TIMOB-20202: Android: Camera.open() can throw a RuntimeException.
Ti SDK 5.1 introduced permission checks on the camera module to prevent showCamera from being called when a user has denied permission but there are other possible scenarios besides permissions. The TiCameraActivity is missing a try catch block around Camera.open(). See Android documentation: http://developer.android.com/reference/android/hardware/Camera.html#open(int)
Story points: 2