summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSultanxda <sultanxda@gmail.com>2015-11-13 21:32:34 -0800
committerMichael Bestas <mikeioannina@cyanogenmod.org>2016-02-07 15:05:01 -0800
commit8ab0ea01944dea717cfbc61a37c47c62eee33f88 (patch)
tree864c2ec5ecb74f69002c9c57aad2b06bb9fa1f2e
parent1e235c50d445df2dd34f5093a0506c266a93d5ea (diff)
downloadandroid_packages_apps_Snap-8ab0ea01944dea717cfbc61a37c47c62eee33f88.zip
android_packages_apps_Snap-8ab0ea01944dea717cfbc61a37c47c62eee33f88.tar.gz
android_packages_apps_Snap-8ab0ea01944dea717cfbc61a37c47c62eee33f88.tar.bz2
SnapdragonCamera: Unlock AE/AWB after taking a photo with ZSL
The exposure and white balance get stuck after taking photos with ZSL. Always unlock the exposure and white balance after taking photos with ZSL. Change-Id: Ia34a54522048fdd619f44ac1f6d2924ce2c3fc6a
-rw-r--r--src/com/android/camera/PhotoModule.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/camera/PhotoModule.java b/src/com/android/camera/PhotoModule.java
index 8af68a2..b296a4c 100644
--- a/src/com/android/camera/PhotoModule.java
+++ b/src/com/android/camera/PhotoModule.java
@@ -2459,6 +2459,7 @@ public class PhotoModule
if (null != mCameraDevice ) {
mCameraDevice.cancelAutoFocus();
setCameraState(IDLE);
+ mFocusManager.setAeAwbLock(false);
setCameraParameters(UPDATE_PARAM_PREFERENCE);
}
}