summaryrefslogtreecommitdiffstats
path: root/camera/CameraHal.cpp
diff options
context:
space:
mode:
authorTyler Luu <tluu@ti.com>2011-09-23 09:52:09 -0500
committerIliyan Malchev <malchev@google.com>2011-09-23 14:11:51 -0700
commit9f3f04aef58cac9615677094e7846a8ce2a4fe57 (patch)
tree37854dc6b529542a70083e9f84a245eb796e88d4 /camera/CameraHal.cpp
parentbbdc0fa0b8720bcfcf602861f62802c1fa1995c4 (diff)
downloadhardware_ti_omap4xxx-9f3f04aef58cac9615677094e7846a8ce2a4fe57.zip
hardware_ti_omap4xxx-9f3f04aef58cac9615677094e7846a8ce2a4fe57.tar.gz
hardware_ti_omap4xxx-9f3f04aef58cac9615677094e7846a8ce2a4fe57.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.cpp11
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;
}