summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/CaptureModule.java
diff options
context:
space:
mode:
authorJay Wang <jaywang@codeaurora.org>2016-08-31 17:48:03 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-09-27 11:18:41 -0700
commitff46acbd04a495eb93f45417421156ec6dfdc17f (patch)
tree903de8b66ca461a319511a0d4c66e0ca38a59ded /src/com/android/camera/CaptureModule.java
parent30333e5845f055092c6a95b115c2025442dcee25 (diff)
downloadandroid_packages_apps_Snap-ff46acbd04a495eb93f45417421156ec6dfdc17f.tar.gz
android_packages_apps_Snap-ff46acbd04a495eb93f45417421156ec6dfdc17f.tar.bz2
android_packages_apps_Snap-ff46acbd04a495eb93f45417421156ec6dfdc17f.zip
SnapdragonCamera: Add exposure lock flag to capture request.
Add the exposure lock flag to the capture request as well. For burst captures, exposure was fluctuating between shots. CRs-Fixed: 1061989 Change-Id: I3a498161b4dd5400962c004254f3974a4ead3851
Diffstat (limited to 'src/com/android/camera/CaptureModule.java')
-rw-r--r--src/com/android/camera/CaptureModule.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/camera/CaptureModule.java b/src/com/android/camera/CaptureModule.java
index 38f72c196..dd5fde708 100644
--- a/src/com/android/camera/CaptureModule.java
+++ b/src/com/android/camera/CaptureModule.java
@@ -1099,6 +1099,7 @@ public class CaptureModule implements CameraModule, PhotoController,
addPreviewSurface(captureBuilder, null, id);
captureBuilder.set(CaptureRequest.CONTROL_AF_MODE, mControlAFMode);
captureBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER, CaptureRequest.CONTROL_AF_TRIGGER_IDLE);
+ applySettingsForLockExposure(captureBuilder, id);
applySettingsForCapture(captureBuilder, id);
if(csEnabled) {