Merge "libgui: Always allow allocation on connect" into mnc-dev
This commit is contained in:
commit
48cb8310e2
@ -871,6 +871,7 @@ status_t BufferQueueProducer::connect(const sp<IProducerListener>& listener,
|
|||||||
mCore->mBufferHasBeenQueued = false;
|
mCore->mBufferHasBeenQueued = false;
|
||||||
mCore->mDequeueBufferCannotBlock =
|
mCore->mDequeueBufferCannotBlock =
|
||||||
mCore->mConsumerControlledByApp && producerControlledByApp;
|
mCore->mConsumerControlledByApp && producerControlledByApp;
|
||||||
|
mCore->mAllowAllocation = true;
|
||||||
|
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user