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

Commit 77533ce9 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

Change-Id: I48cb9d0af9e4853ebc1f60544e167e14965c2a18
parents c8316072 4b0e77ab
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();