From dd0d24cc8b9148274eb942561ffaa18664530f8e Mon Sep 17 00:00:00 2001 From: xianming wang Date: Wed, 27 Nov 2019 14:48:03 +0800 Subject: SnapdragonCamera: Enable CAF function when HDR mode is ON. Enable CAF function when HDR mode is ON. Change-Id: I8a75c9b6fd5392d2385f40fccc7eae05a23a75d5 --- src/com/android/camera/CaptureModule.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/com/android/camera/CaptureModule.java b/src/com/android/camera/CaptureModule.java index a1c40aff5..24f103529 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; } -- cgit v1.2.3