summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxianming wang <mingwax@codeaurora.org>2019-11-27 14:48:03 +0800
committerSridhar Gujje <sgujje@codeaurora.org>2020-01-11 07:33:14 +0530
commitdd0d24cc8b9148274eb942561ffaa18664530f8e (patch)
tree09f43294f925a4db2d2239cea1584e76e218631a
parent2d73737460bcd453421dcc33dbdc96ac64f31542 (diff)
downloadandroid_packages_apps_Snap-dd0d24cc8b9148274eb942561ffaa18664530f8e.zip
android_packages_apps_Snap-dd0d24cc8b9148274eb942561ffaa18664530f8e.tar.gz
android_packages_apps_Snap-dd0d24cc8b9148274eb942561ffaa18664530f8e.tar.bz2
SnapdragonCamera: Enable CAF function when HDR mode is ON.
Enable CAF function when HDR mode is ON. Change-Id: I8a75c9b6fd5392d2385f40fccc7eae05a23a75d5
-rwxr-xr-xsrc/com/android/camera/CaptureModule.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/camera/CaptureModule.java b/src/com/android/camera/CaptureModule.java
index a1c40af..24f1035 100755
--- a/src/com/android/camera/CaptureModule.java
+++ b/src/com/android/camera/CaptureModule.java
@@ -4001,7 +4001,8 @@ public class CaptureModule implements CameraModule, PhotoController,
if (scene == null) return false;
int mode = Integer.parseInt(scene);
if (mode != CaptureRequest.CONTROL_SCENE_MODE_DISABLED
- && mode < SettingsManager.SCENE_MODE_CUSTOM_START)
+ && mode < SettingsManager.SCENE_MODE_CUSTOM_START
+ && mode != SettingsManager.SCENE_MODE_HDR_INT)
return true;
return false;
}