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

Commit 4b0e77ab authored by Jammy Yu's avatar Jammy Yu Committed by android-build-merger
Browse files

Merge "Fix error BufferQueue attaching flow."

am: 0ffe45c2

Change-Id: I5594453f6689d2b947109f51db4b9cab14b5a59a
parents f3e73b9f 0ffe45c2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -721,6 +721,7 @@ status_t BufferQueueProducer::attachBuffer(int* outSlot,
    mSlots[*outSlot].mFence = Fence::NO_FENCE;
    mSlots[*outSlot].mRequestBufferCalled = true;
    mSlots[*outSlot].mAcquireCalled = false;
    mSlots[*outSlot].mNeedsReallocation = false;
    mCore->mActiveBuffers.insert(found);
    VALIDATE_CONSISTENCY();