diff options
author | Zhijun He <zhijunhe@google.com> | 2014-05-01 10:39:16 -0700 |
---|---|---|
committer | Zhijun He <zhijunhe@google.com> | 2014-05-01 10:39:16 -0700 |
commit | e11ae4b2f7d38c8092e7c67ff06610165d866d98 (patch) | |
tree | 3f39a98e6bae4732e039677ea9e01e8a491bce6b /services/camera/libcameraservice/device3 | |
parent | f7da096db8655531c2f2b7bddccd1064b1021155 (diff) | |
download | frameworks_av-e11ae4b2f7d38c8092e7c67ff06610165d866d98.zip frameworks_av-e11ae4b2f7d38c8092e7c67ff06610165d866d98.tar.gz frameworks_av-e11ae4b2f7d38c8092e7c67ff06610165d866d98.tar.bz2 |
Camera3: Don't notifyError for non-fatal errors
Bug: 14448494
Change-Id: Ie2e2dc6a8475189707c556845adb77f20f270df5
Diffstat (limited to 'services/camera/libcameraservice/device3')
-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__); |