diff options
Diffstat (limited to 'services/camera/libcameraservice')
-rw-r--r-- | services/camera/libcameraservice/device3/Camera3Device.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/services/camera/libcameraservice/device3/Camera3Device.cpp b/services/camera/libcameraservice/device3/Camera3Device.cpp index 2f874f5..16d6f42 100644 --- a/services/camera/libcameraservice/device3/Camera3Device.cpp +++ b/services/camera/libcameraservice/device3/Camera3Device.cpp @@ -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__); |