Per 75a0255627 Handle borked Android cameras gracefully.
It turns out that Camera.getCameraInfo can throw an exception if the camera does not work.

TESTED=added a throw before all calls to Camera.open and Camera.getCameraInfo and made sure APPRtcDemo does not crash.

BUG=4371
R=glaznev@webrtc.org, magjed@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/44909004

Cr-Commit-Position: refs/heads/master@{#8876}
2015-03-27 10:15:27 +00:00
..
2015-03-23 19:08:15 +00:00
2015-03-24 15:11:24 +00:00
2015-03-24 15:11:24 +00:00
2015-03-06 17:17:43 +00:00
2014-11-24 10:05:05 +00:00