summaryrefslogtreecommitdiffstats
path: root/camera/OMXCameraAdapter/OMXCameraAdapter.cpp
diff options
context:
space:
mode:
authorTyler Luu <tluu@ti.com>2011-09-23 09:58:24 -0500
committerWu-cheng Li <wuchengli@google.com>2011-09-27 01:09:28 +0800
commit7a99c883f15a71d87c5c65102c86d56f1cc7e5f9 (patch)
tree5b928d673129ca07c1c887f70d55219cf89d6de0 /camera/OMXCameraAdapter/OMXCameraAdapter.cpp
parent4c4169e406900fbed4d164c532c15c4853b91f3f (diff)
downloadhardware_ti_omap4-7a99c883f15a71d87c5c65102c86d56f1cc7e5f9.zip
hardware_ti_omap4-7a99c883f15a71d87c5c65102c86d56f1cc7e5f9.tar.gz
hardware_ti_omap4-7a99c883f15a71d87c5c65102c86d56f1cc7e5f9.tar.bz2
CameraHal: Changes to releasing of focus lock
Do not release focus lock during stopPreview and after takePicture. bug:5356404 Change-Id: Ib7078f5261ee21579143c4519896d1b13874697b Signed-off-by: Tyler Luu <tluu@ti.com>
Diffstat (limited to 'camera/OMXCameraAdapter/OMXCameraAdapter.cpp')
-rw-r--r--camera/OMXCameraAdapter/OMXCameraAdapter.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/camera/OMXCameraAdapter/OMXCameraAdapter.cpp b/camera/OMXCameraAdapter/OMXCameraAdapter.cpp
index 9949e99..db9084d 100644
--- a/camera/OMXCameraAdapter/OMXCameraAdapter.cpp
+++ b/camera/OMXCameraAdapter/OMXCameraAdapter.cpp
@@ -1914,13 +1914,6 @@ status_t OMXCameraAdapter::stopPreview()
// Error, but we probably still want to continue to stop preview
}
- // Release AF Lock if still held
- ret = set3ALock(mUserSetExpLock, mUserSetWbLock, OMX_FALSE);
- if(ret!=NO_ERROR)
- {
- CAMHAL_LOGEB("Error Releaseing 3A locks%d", ret);
- }
-
if ( 0 != mStopPreviewSem.Count() )
{
CAMHAL_LOGEB("Error mStopPreviewSem semaphore count %d", mStopPreviewSem.Count());