From 4361352633d1e106c1574c02ddd27c8891c5ee78 Mon Sep 17 00:00:00 2001 From: Shashi Shekhar Date: Tue, 24 Feb 2015 18:10:07 -0800 Subject: Change interface of BurstMediaItem to provide filepath. - Instead of passing a byte array, use a file path for the burst media item. - Change the save operation in Stack saver to simply rename the image. - The burst controller is now responsible for managing captured images and implementations should free the captured images as soon as possible. Change-Id: I6762972c68865d6ab15bd6fa20b60fb275f103f1 --- src_pd/com/android/camera/burst/BurstControllerImpl.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src_pd/com/android') diff --git a/src_pd/com/android/camera/burst/BurstControllerImpl.java b/src_pd/com/android/camera/burst/BurstControllerImpl.java index 6aad961a9..2c1d0a696 100644 --- a/src_pd/com/android/camera/burst/BurstControllerImpl.java +++ b/src_pd/com/android/camera/burst/BurstControllerImpl.java @@ -22,6 +22,7 @@ import com.android.camera.burst.BurstResultsListener; import com.android.camera.burst.EvictionHandler; import com.android.camera.burst.BurstController.ImageStreamProperties; import com.android.camera.one.v2.camera2proxy.ImageProxy; +import com.android.camera.session.CaptureSession; import java.util.List; @@ -41,7 +42,8 @@ class BurstControllerImpl implements BurstController { @Override public EvictionHandler startBurst(SurfaceTexture surfaceTexture, ImageStreamProperties imageStreamProperties, - BurstResultsListener resultsListener) { + BurstResultsListener resultsListener, + CaptureSession captureSession) { return null; } -- cgit v1.2.3