diff options
| author | mingwax <mingwax@codeaurora.org> | 2017-02-20 17:31:57 +0800 |
|---|---|---|
| committer | mingwax <mingwax@codeaurora.org> | 2017-02-20 17:37:23 +0800 |
| commit | 28a8ad28a1a3bc51a059875a654850fa43665ded (patch) | |
| tree | d614c12aad55d4b66700c2fd17460f94aeab1d06 /src/com/android/camera/CaptureModule.java | |
| parent | 3196565b3091f36a00428c0509c2bfd959c84b85 (diff) | |
SnapdragonCamera: Fix ISO auto don`t work in pro mode
SnapdragonCamera needs to set ISO with 0 value when in auto mode,
instead of NULL.
CRs-Fixed: 2008928
Change-Id: I5fd39a743c3ae7286ade4c810d7d4e15714293e5
Diffstat (limited to 'src/com/android/camera/CaptureModule.java')
| -rw-r--r-- | src/com/android/camera/CaptureModule.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/camera/CaptureModule.java b/src/com/android/camera/CaptureModule.java index 0a8da719d..caa173e0a 100644 --- a/src/com/android/camera/CaptureModule.java +++ b/src/com/android/camera/CaptureModule.java @@ -4026,8 +4026,8 @@ public class CaptureModule implements CameraModule, PhotoController, String value = mSettingsManager.getValue(SettingsManager.KEY_ISO); if (value == null) return; if (value.equals("auto")) { - request.set(SELECT_PRIORITY, null); - request.set(ISO_EXP, null); + request.set(SELECT_PRIORITY, 0); + request.set(ISO_EXP, 0L); } else { long intValue = Integer.parseInt(value); request.set(SELECT_PRIORITY, 0); |
