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

Commit b8a71496 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

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