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

Commit 31cdc434 authored by Jammy Yu's avatar Jammy Yu Committed by android-build-merger
Browse files

Merge "Fix error BufferQueue attaching flow." am: 0ffe45c2 am: 4b0e77ab am: 77533ce9

am: b8a71496

Change-Id: I3f545aa62fe4d710bb9e27aadcb329620e1155af
parents c0576ac3 b8a71496
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -732,6 +732,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();