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

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

Merge "Camera3: Don't notifyError for non-fatal errors"

parents 33a610c4 e11ae4b2
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1936,9 +1936,6 @@ void Camera3Device::notify(const camera3_notify_msg *msg) {
                if (msg->message.error.error_code == CAMERA3_MSG_ERROR_DEVICE) {
                    listener->notifyError(ICameraDeviceCallbacks::ERROR_CAMERA_DEVICE,
                                          resultExtras);
                } else {
                    listener->notifyError(ICameraDeviceCallbacks::ERROR_CAMERA_SERVICE,
                                          resultExtras);
                }
            } else {
                ALOGE("Camera %d: %s: no listener available", mId, __FUNCTION__);