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

Commit 692f288a authored by Dan Stoza's avatar Dan Stoza Committed by Android Git Automerger
Browse files

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

* commit 'e54fbaa2':
  ImageWriter: Change detach to sp<GraphicBuffer>
parents 7c420307 e54fbaa2
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);
        }