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
1 file changed