diff options
-rw-r--r-- | libcamera/SecCameraHWInterface.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libcamera/SecCameraHWInterface.cpp b/libcamera/SecCameraHWInterface.cpp index 27c30cc..509f4fd 100644 --- a/libcamera/SecCameraHWInterface.cpp +++ b/libcamera/SecCameraHWInterface.cpp @@ -628,9 +628,6 @@ status_t CameraHardwareSec::startPreview() if (ret < 0) { LOGE("ERR(%s):Fail on mSecCamera->startPreview()", __func__); - if (mMsgEnabled & CAMERA_MSG_ERROR) { - mNotifyCb(CAMERA_MSG_ERROR, -2, 0, mCallbackCookie); - } return -1; //UNKNOWN_ERROR; } |