Merge "libgui: Always allow allocation on connect"

This commit is contained in:
Dan Stoza 2015-05-12 22:33:38 +00:00 committed by Gerrit Code Review
commit bfe211f00a

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;
}