diff options
| author | 2017-04-17 20:39:45 +0000 | |
|---|---|---|
| committer | 2017-04-17 20:39:45 +0000 | |
| commit | 77533ce953b002f2baed2513bac1780fea7d6525 (patch) | |
| tree | 534d76896d84c567f9cb4a330508534255e3fe44 /libs/gui/BufferQueueProducer.cpp | |
| parent | c8316072b66f305f2274877b7aea285a9c29ed05 (diff) | |
| parent | 4b0e77ab69356add7e2ba6129401ce569e8b19e2 (diff) | |
Merge "Fix error BufferQueue attaching flow." am: 0ffe45c2ed
am: 4b0e77ab69
Change-Id: I48cb9d0af9e4853ebc1f60544e167e14965c2a18
Diffstat (limited to 'libs/gui/BufferQueueProducer.cpp')
| -rw-r--r-- | libs/gui/BufferQueueProducer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/gui/BufferQueueProducer.cpp b/libs/gui/BufferQueueProducer.cpp index 13b900c837..f0e701e9f3 100644 --- a/libs/gui/BufferQueueProducer.cpp +++ b/libs/gui/BufferQueueProducer.cpp @@ -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(); |