diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2019-06-28 12:27:44 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2019-06-28 12:27:44 -0700 |
| commit | 02bd7bfbcbfcba20da39bd9b2ccfec3513edcf7a (patch) | |
| tree | 2df3349076cbbc3563b66bbae4a4e4fe98aa7024 /src/com/android/camera/CaptureModule.java | |
| parent | a6d1317baa1a78cd4a6ebf0f2c6d28ea839721b1 (diff) | |
| parent | 7881447859db7fb0bf57444baa2efba7e57b36d5 (diff) | |
Merge "SnapdragonCamera: Add burst preview request nums control" into camera-SnapdragonCamera.lnx.3.0
Diffstat (limited to 'src/com/android/camera/CaptureModule.java')
| -rwxr-xr-x | 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 0443caa89..62b460fb0 100755 --- a/src/com/android/camera/CaptureModule.java +++ b/src/com/android/camera/CaptureModule.java @@ -2840,9 +2840,9 @@ public class CaptureModule implements CameraModule, PhotoController, private void captureStillPictureForLongshot(CaptureRequest.Builder captureBuilder, int id) throws CameraAccessException{ List<CaptureRequest> burstList = new ArrayList<>(); - boolean isBurstShotFpsEnable = PersistUtil.isBurstShotFpsEnabled(); + int burstShotFpsNums = PersistUtil.isBurstShotFpsNums(); for (int i = 0; i < PersistUtil.getLongshotShotLimit(); i++) { - if (isBurstShotFpsEnable) { + for (int j = 0; j < burstShotFpsNums; j++) { mPreviewRequestBuilder[id].setTag("preview"); burstList.add(mPreviewRequestBuilder[id].build()); } |
