Camera2 legacy: Improve robustness to camera service crashes
When the camera service dies, the getParameters call is often the first to fail, and on legacy mode, this frequently happens in a background thread. Catch the runtime exceptions and convert to device errors, instead of killing the process. Bug: 17587496 Change-Id: I6757961e7c0387defd368a13cb7c343950602400
Loading
Please register or sign in to comment