diff options
author | Michael Gernoth <michael@gernoth.net> | 2014-09-08 23:21:56 +0200 |
---|---|---|
committer | Hashcode <hashcode0f@gmail.com> | 2015-02-03 14:06:52 -0800 |
commit | 760a2b928f0c208cb2db5044936b038bd52701ac (patch) | |
tree | 68af5a9cacffd2fa135a893906663d08329c67b1 | |
parent | d156f5ef207020b91909b0744633dca303a7d103 (diff) | |
download | hardware_ti_omap4-760a2b928f0c208cb2db5044936b038bd52701ac.zip hardware_ti_omap4-760a2b928f0c208cb2db5044936b038bd52701ac.tar.gz hardware_ti_omap4-760a2b928f0c208cb2db5044936b038bd52701ac.tar.bz2 |
camera: don't drop focus-callback in VIDEO_AF_STATE
Change-Id: If580892f35bdfb4ae7071d34b6194fff3773f30a
-rw-r--r-- | camera/OMXCameraAdapter/OMXFocus.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |