Merge "ImageReader: Make discardFreeBuffers public"
This commit is contained in:
committed by
Android (Google) Code Review
commit
a3dcd16044
@@ -22033,6 +22033,7 @@ package android.media {
|
||||
method public android.media.Image acquireLatestImage();
|
||||
method public android.media.Image acquireNextImage();
|
||||
method public void close();
|
||||
method public void discardFreeBuffers();
|
||||
method public int getHeight();
|
||||
method public int getImageFormat();
|
||||
method public int getMaxImages();
|
||||
|
||||
@@ -640,7 +640,6 @@ public class ImageReader implements AutoCloseable {
|
||||
* The ImageReader continues to be usable after this call, but may need to reallocate buffers
|
||||
* when more buffers are needed for rendering.
|
||||
* </p>
|
||||
* @hide
|
||||
*/
|
||||
public void discardFreeBuffers() {
|
||||
synchronized (mCloseLock) {
|
||||
|
||||
Reference in New Issue
Block a user