am 855d5495: Merge "Camera2: stop log spamming when closing a closed camera" into mnc-dev

* commit '855d5495ffbd9d0e2dfbd22def462247a1a4e61b':
  Camera2: stop log spamming when closing a closed camera
This commit is contained in:
Zhijun He
2015-05-18 20:46:40 +00:00
committed by Android Git Automerger

View File

@@ -371,7 +371,6 @@ public class CameraCaptureSessionImpl extends CameraCaptureSession {
mDeviceImpl.stopRepeating();
} catch (IllegalStateException e) {
// OK: Camera device may already be closed, nothing else to do
Log.w(TAG, mIdString + "The camera device was already closed: ", e);
// TODO: Fire onClosed anytime we get the device onClosed or the ISE?
// or just suppress the ISE only and rely onClosed.