summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSultanxda <sultanxda@gmail.com>2015-11-13 21:32:34 -0800
committerArne Coucheron <arco68@gmail.com>2018-01-26 01:08:06 +0100
commita82ee7c4200e803c99bd1cfaa843b87d3ec62be7 (patch)
tree950c4d587899a668ade1e9bb948f0a7d0e94ff94
parent2fe3cd720a511025e6246608e6f644e9fdede053 (diff)
downloadandroid_packages_apps_Snap-a82ee7c4200e803c99bd1cfaa843b87d3ec62be7.zip
android_packages_apps_Snap-a82ee7c4200e803c99bd1cfaa843b87d3ec62be7.tar.gz
android_packages_apps_Snap-a82ee7c4200e803c99bd1cfaa843b87d3ec62be7.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 df05952..f21e05a 100644
--- a/src/com/android/camera/PhotoModule.java
+++ b/src/com/android/camera/PhotoModule.java
@@ -2994,6 +2994,7 @@ public class PhotoModule
if (null != mCameraDevice ) {
mCameraDevice.cancelAutoFocus();
setCameraState(IDLE);
+ mFocusManager.setAeAwbLock(false);
setCameraParameters(UPDATE_PARAM_PREFERENCE);
}
}