diff options
author | Shashi Shekhar <shashishekhar@google.com> | 2015-02-24 18:10:07 -0800 |
---|---|---|
committer | Shashi Shekhar <shashishekhar@google.com> | 2015-03-06 11:55:03 -0800 |
commit | 4361352633d1e106c1574c02ddd27c8891c5ee78 (patch) | |
tree | f9c8d17fd25052ccfc99beb10a8080ecb4427f63 /src_pd | |
parent | e727428fb48a0df77a42eca417dec8749397d407 (diff) | |
download | android_packages_apps_Camera2-4361352633d1e106c1574c02ddd27c8891c5ee78.tar.gz android_packages_apps_Camera2-4361352633d1e106c1574c02ddd27c8891c5ee78.tar.bz2 android_packages_apps_Camera2-4361352633d1e106c1574c02ddd27c8891c5ee78.zip |
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
Diffstat (limited to 'src_pd')
-rw-r--r-- | src_pd/com/android/camera/burst/BurstControllerImpl.java | 4 |
1 files changed, 3 insertions, 1 deletions
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; } |