summaryrefslogtreecommitdiff
path: root/src/com/android/camera/CaptureModule.java
diff options
context:
space:
mode:
authorCamera Software Integration <camswint@localhost>2016-12-20 02:56:13 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-12-20 02:56:13 -0800
commit4449afd032d9c60cc35ccea6529b631e4243af3c (patch)
treee99f782e938532d5e817fa9e72b6185ebfad3d3e /src/com/android/camera/CaptureModule.java
parent7549f8d2981c19d899c119c6df177a04516f3ff9 (diff)
parentaae159bb14b9d8dda5a40cd18eb4de4020b5b217 (diff)
Merge "SnapdragonCamera: EIS is not enabled when enabling on the UI" into camera.lnx.1.0-dev.1.0
Diffstat (limited to 'src/com/android/camera/CaptureModule.java')
-rw-r--r--src/com/android/camera/CaptureModule.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/camera/CaptureModule.java b/src/com/android/camera/CaptureModule.java
index b78e52d06..de88b406a 100644
--- a/src/com/android/camera/CaptureModule.java
+++ b/src/com/android/camera/CaptureModule.java
@@ -2851,7 +2851,7 @@ public class CaptureModule implements CameraModule, PhotoController,
private void applyVideoStabilization(CaptureRequest.Builder builder) {
String value = mSettingsManager.getValue(SettingsManager.KEY_DIS);
if (value == null) return;
- if (value.equals("enable")) {
+ if (value.equals("on")) {
builder.set(CaptureRequest.CONTROL_VIDEO_STABILIZATION_MODE, CaptureRequest
.CONTROL_VIDEO_STABILIZATION_MODE_ON);
} else {