diff options
| author | junjiez <junjiez@codeaurora.org> | 2017-01-19 14:49:29 +0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-01-19 04:42:42 -0800 |
| commit | e38a01d108d9726495bdea0f1af870eec1dc5c81 (patch) | |
| tree | b163a89fc7e8dbbeb48f9f3eb5f613df5fe520a0 /src/com/android/camera/CaptureModule.java | |
| parent | 36f2a32a9277b09badec5a16d7f6b8c9b581015e (diff) | |
SnapdragonCamera: Fix HDR+nHDR generates dark images
When enable HDR+nHDR, need to restart sessions to make
it work and disable ZSL when HDR is enabled.
Change-Id: Idb78ff8e033df7bc9ef607ad4520ee8234203e95
CRs-Fixed: 1109804
Diffstat (limited to 'src/com/android/camera/CaptureModule.java')
| -rwxr-xr-x | src/com/android/camera/CaptureModule.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/camera/CaptureModule.java b/src/com/android/camera/CaptureModule.java index b06bd2d12..1fb7ec9bc 100755 --- a/src/com/android/camera/CaptureModule.java +++ b/src/com/android/camera/CaptureModule.java @@ -1724,7 +1724,7 @@ public class CaptureModule implements CameraModule, PhotoController, ExifInterface exif = Exif.getExif(bytes); int orientation = Exif.getOrientation(exif); - if (getCameraMode() != CaptureModule.INTENT_MODE_NORMAL) { + if (mIntentMode != CaptureModule.INTENT_MODE_NORMAL) { mJpegImageData = bytes; if (!mQuickCapture) { showCapturedReview(bytes, orientation, @@ -4275,6 +4275,7 @@ public class CaptureModule implements CameraModule, PhotoController, return; case SettingsManager.KEY_FLASH_MODE: case SettingsManager.KEY_SAVERAW: + case SettingsManager.KEY_HDR: if (count == 0) restartSession(false); return; case SettingsManager.KEY_SCENE_MODE: |
