Merge "libgui: Always allow allocation on connect" into mnc-dev

This commit is contained in:
Dan Stoza 2015-05-12 21:57:27 +00:00 committed by Android (Google) Code Review
commit 48cb8310e2

View File

@ -871,6 +871,7 @@ status_t BufferQueueProducer::connect(const sp<IProducerListener>& listener,
mCore->mBufferHasBeenQueued = false;
mCore->mDequeueBufferCannotBlock =
mCore->mConsumerControlledByApp && producerControlledByApp;
mCore->mAllowAllocation = true;
return status;
}