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

Commit b6dcc4c2 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix libgui cts crash bug"

parents e8c6fa84 5614ca04
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -615,7 +615,8 @@ status_t BufferQueueProducer::dequeueBuffer(int* outSlot, sp<android::Fence>* ou
    BQ_LOGV("dequeueBuffer: returning slot=%d/%" PRIu64 " buf=%p flags=%#x",
            *outSlot,
            mSlots[*outSlot].mFrameNumber,
            mSlots[*outSlot].mGraphicBuffer->handle, returnFlags);
            mSlots[*outSlot].mGraphicBuffer != nullptr ?
            mSlots[*outSlot].mGraphicBuffer->handle : nullptr, returnFlags);

    if (outBufferAge) {
        *outBufferAge = mCore->mBufferAge;