From 858413dfa74b4e926111a34037a58ee4055e1348 Mon Sep 17 00:00:00 2001 From: Jay Wang Date: Wed, 6 Apr 2016 17:05:28 -0700 Subject: SnapdragonCamera: Fix the issue that IS is not disabled IS needs to be disabled when 4K video is captured. However, 4K video checking logic doesn't include the time lapse 4K profile and reports the incorrect state. This causes the video module fails to disable the IS. Change-Id: I15bfb2e9e6022e367a68819a436e3296d085d33b CRs-Fixed: 997368 --- src/com/android/camera/VideoModule.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/com/android/camera/VideoModule.java b/src/com/android/camera/VideoModule.java index 7464604d2..456513516 100644 --- a/src/com/android/camera/VideoModule.java +++ b/src/com/android/camera/VideoModule.java @@ -951,7 +951,8 @@ public class VideoModule implements CameraModule, private boolean is4KEnabled() { if (mProfile.quality == CamcorderProfile.QUALITY_2160P || - mProfile.quality == CamcorderProfile.QUALITY_4KDCI) { + mProfile.quality == CamcorderProfile.QUALITY_TIME_LAPSE_2160P || + mProfile.quality == CamcorderProfile.QUALITY_4KDCI ) { return true; } else { return false; -- cgit v1.2.3