Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a3dcd160 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "ImageReader: Make discardFreeBuffers public"

parents 46d88da6 5fb64cda
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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();
+0 −1
Original line number Diff line number Diff line
@@ -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) {