ImageReader: Make discardFreeBuffers public

Test: CTS
Bug: 64847201
Change-Id: I61008111552b5ca4641a509e5bcf5cf821582d5e
This commit is contained in:
Chien-Yu Chen
2017-11-27 16:45:14 -08:00
parent bc8c25a407
commit 5fb64cdae7
2 changed files with 1 additions and 1 deletions

View File

@@ -22028,6 +22028,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();

View File

@@ -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) {