libgui: Fix infinite recursion
One of the overloads of BufferQueueConsumer::acquireBuffer was calling itself infinitely instead of calling the other overload. This fixes that issue. Bug: 19733425 Change-Id: Iac8425e1241774304a131da2fb9dec6e82922f13
This commit is contained in:
parent
3bea554717
commit
9cf51a7c86
@ -182,7 +182,7 @@ status_t BufferQueueConsumer::acquireBuffer(android::BufferItem* outBuffer,
|
||||
return BAD_VALUE;
|
||||
}
|
||||
|
||||
android::BufferItem item;
|
||||
BufferItem item;
|
||||
status_t result = acquireBuffer(&item, expectedPresent);
|
||||
if (result != NO_ERROR) {
|
||||
return result;
|
||||
|
Loading…
Reference in New Issue
Block a user