summaryrefslogtreecommitdiff
path: root/src/com/android/camera/CaptureModule.java
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2019-09-18 13:09:49 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2019-09-18 13:09:49 -0700
commit6ec4ab963e96e454bb445c0aa3e544dbe4921b7c (patch)
tree0a839d211d0a5248bf2445a05732b30a035bdb90 /src/com/android/camera/CaptureModule.java
parent0be70442fbf1fa197a2394c1bde8ff252a122d17 (diff)
parent5b458d459c96df2b3e21f7e7f70a9498550044da (diff)
Merge "SnapdraongCamera: cct mode wb is error" into camera-SnapdragonCamera.lnx.3.0
Diffstat (limited to 'src/com/android/camera/CaptureModule.java')
-rwxr-xr-xsrc/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 b62ce2262..f2f9e463d 100755
--- a/src/com/android/camera/CaptureModule.java
+++ b/src/com/android/camera/CaptureModule.java
@@ -6672,6 +6672,7 @@ public class CaptureModule implements CameraModule, PhotoController,
int colorTempValue = Integer.parseInt(pref.getString(
SettingsManager.KEY_MANUAL_WB_TEMPERATURE_VALUE, "-1"));
if (colorTempValue != -1) {
+ request.set(CaptureRequest.CONTROL_AWB_MODE, CaptureRequest.CONTROL_AWB_MODE_OFF);
VendorTagUtil.setWbColorTemperatureValue(request, colorTempValue);
}
} else if (manualWBMode.equals(gainMode)) {