diff options
author | Tyler Luu <tluu@ti.com> | 2011-09-23 09:52:09 -0500 |
---|---|---|
committer | Iliyan Malchev <malchev@google.com> | 2011-09-23 14:11:51 -0700 |
commit | 0211158c06750fb68cb56bbe65ba82796b7d8d32 (patch) | |
tree | 21cef9279882cab0ad20261ec3b8e2d6ca82fdc7 /camera/CameraHal.cpp | |
parent | d537d406d6b1f79a4f57134a51d465596276633d (diff) | |
download | hardware_ti_omap4-0211158c06750fb68cb56bbe65ba82796b7d8d32.zip hardware_ti_omap4-0211158c06750fb68cb56bbe65ba82796b7d8d32.tar.gz hardware_ti_omap4-0211158c06750fb68cb56bbe65ba82796b7d8d32.tar.bz2 |
CameraHal: Do not unset exposure/wb lock in stopPreview
Did not remove code that explicitly unsets white balance
and exposure lock in stopPreview after capture case.
Change-Id: I1f990eb0819223c3642205584d2124bccc47355c
Signed-off-by: Tyler Luu <tluu@ti.com>
Diffstat (limited to 'camera/CameraHal.cpp')
-rw-r--r-- | camera/CameraHal.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/camera/CameraHal.cpp b/camera/CameraHal.cpp index 2a44b9b..0005ad9 100644 --- a/camera/CameraHal.cpp +++ b/camera/CameraHal.cpp @@ -1649,17 +1649,6 @@ void CameraHal::stopPreview() // an image capture, we do not de-initialize the camera adapter and // restart over again. - // Since we are not calling CameraAdapter->stopPreview, we need to - // explicitly release the 3A locks in this first level stopPreview call - // before returning - if ( NULL != mCameraAdapter ) { - CameraParameters adapterParams = mParameters; - - adapterParams.set(CameraParameters::KEY_AUTO_EXPOSURE_LOCK, CameraParameters::FALSE); - adapterParams.set(CameraParameters::KEY_AUTO_WHITEBALANCE_LOCK, CameraParameters::FALSE); - mCameraAdapter->setParameters(adapterParams); - } - return; } |