commit | ef01a315078587883d3c800d31df6af302b702a9 | [log] [tgz] |
---|---|---|
author | ztenghui <ztenghui@google.com> | Mon Oct 14 15:25:16 2013 -0700 |
committer | ztenghui <ztenghui@google.com> | Mon Oct 14 16:31:07 2013 -0700 |
tree | 204e4777af68212a5c0684cbf20da11bb64be270 | |
parent | 3772d2f48ee5af8516f203f0f0519a2075042d6b [diff] |
NPE fix when we failed to open the camera At the same time, some error check code never get turned on. Remove those stale codes and make sure we check the CameraDevice for null correctly. We didn't intensively log the error here since they should be logged by the CameraOpenErrorCallback already. bug:11215576 Change-Id: Ib1e1b9011a169607b719c833d6d5eddbd9be8a9d