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

Commit 0e001fce authored by Dan Stoza's avatar Dan Stoza Committed by Android Git Automerger
Browse files

am 692f288a: am e54fbaa2: Merge "ImageWriter: Change detach to sp<GraphicBuffer>" into mnc-dev

* commit '692f288a':
  ImageWriter: Change detach to sp<GraphicBuffer>
parents 03b0f717 692f288a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -160,7 +160,7 @@ void JNIImageWriterContext::onBufferReleased() {
        // Writer. Do the detach unconditionally for opaque format now. see b/19977520
        if (mFormat == HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED) {
            sp<Fence> fence;
            ANativeWindowBuffer* buffer;
            sp<GraphicBuffer> buffer;
            ALOGV("%s: One buffer is detached", __FUNCTION__);
            mProducer->detachNextBuffer(&buffer, &fence);
        }