summaryrefslogtreecommitdiff
path: root/src/com/android/camera/CaptureModule.java
diff options
context:
space:
mode:
authorxianming wang <mingwax@codeaurora.org>2019-08-13 15:33:17 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2019-08-13 23:21:07 -0700
commitbddd15f97d25a82362a2ef80ca4ea44d8fefad93 (patch)
tree09b7fbe5a80936e5c92e360c50f774423685927b /src/com/android/camera/CaptureModule.java
parent95fdda9ba003784950db3e5929d0f99f9877a18b (diff)
SnapdragonCamera: CaptureBurst should be used in only HFR mode
CaptureBurst should be used only in HFR mode. CRs-Fixed: 2508104 Change-Id: I341248a183ec810a6c1066630313a96ebb18d493
Diffstat (limited to 'src/com/android/camera/CaptureModule.java')
-rw-r--r--src/com/android/camera/CaptureModule.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/camera/CaptureModule.java b/src/com/android/camera/CaptureModule.java
index 33270b320..c30314790 100644
--- a/src/com/android/camera/CaptureModule.java
+++ b/src/com/android/camera/CaptureModule.java
@@ -2629,7 +2629,7 @@ public class CaptureModule implements CameraModule, PhotoController,
builder.set(CaptureRequest.CONTROL_AF_MODE, CaptureRequest.CONTROL_AF_MODE_AUTO);
mState[id] = STATE_WAITING_TOUCH_FOCUS;
applyFlash(builder, id);//apply flash mode and AEmode for this temp builder
- if (isHighSpeedRateCapture()) {
+ if (mCurrentSceneMode.mode == CameraMode.HFR && isHighSpeedRateCapture()) {
List<CaptureRequest> tafBuilderList = isSSMEnabled() ?
createSSMBatchRequest(builder) :
((CameraConstrainedHighSpeedCaptureSession) mCaptureSession[id]).