summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcamera/OMXCameraAdapter/OMXCameraAdapter.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/camera/OMXCameraAdapter/OMXCameraAdapter.cpp b/camera/OMXCameraAdapter/OMXCameraAdapter.cpp
index 7bf6b61..9ee33be 100755
--- a/camera/OMXCameraAdapter/OMXCameraAdapter.cpp
+++ b/camera/OMXCameraAdapter/OMXCameraAdapter.cpp
@@ -2820,6 +2820,11 @@ OMX_ERRORTYPE OMXCameraAdapter::OMXCameraAdapterFillBufferDone(OMX_IN OMX_HANDLE
}
}
+ if ( (nextState & CAPTURE_ACTIVE) )
+ {
+ mPending3Asettings |= SetFocus;
+ }
+
///Prepare the frames to be sent - initialize CameraFrame object and reference count
if( mWaitingForSnapshot && (mCapturedFrames > 0) )
{