Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 855d5495 authored by Zhijun He's avatar Zhijun He Committed by Android (Google) Code Review
Browse files

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

parents 20a0edf1 125ff3ca
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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.