From 760a2b928f0c208cb2db5044936b038bd52701ac Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Mon, 8 Sep 2014 23:21:56 +0200 Subject: camera: don't drop focus-callback in VIDEO_AF_STATE Change-Id: If580892f35bdfb4ae7071d34b6194fff3773f30a --- camera/OMXCameraAdapter/OMXFocus.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/camera/OMXCameraAdapter/OMXFocus.cpp b/camera/OMXCameraAdapter/OMXFocus.cpp index 17b74a7..d478035 100644 --- a/camera/OMXCameraAdapter/OMXFocus.cpp +++ b/camera/OMXCameraAdapter/OMXFocus.cpp @@ -835,6 +835,7 @@ void OMXCameraAdapter::handleFocusCallback() { // Dropping AF callback if it triggered in non AF state if ((currentState != AF_STATE) && (currentState != AF_ZOOM_STATE) && + (currentState != VIDEO_AF_STATE) && (nextState != VIDEO_AF_STATE) && (nextState != AF_STATE) && (nextState != AF_ZOOM_STATE)) { return; } -- cgit v1.1