Android 6.0.1 release 17
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEABECAAYFAlbd3qwACgkQ6K0/gZqxDni3xACggqdaKPaP7STGjBxz7H752/Bc gHcAoID1Syc0XZO6+lUast7IK2lh3qAc =tByv -----END PGP SIGNATURE----- Merge tag 'android-6.0.1_r17' into HEAD Android 6.0.1 release 17 Ticket: CYNGNOS-1854
This commit is contained in:
commit
efd11d3c0b
@ -315,7 +315,7 @@ status_t BnGraphicBufferConsumer::onTransact(
|
||||
CHECK_INTERFACE(IGraphicBufferConsumer, data, reply);
|
||||
sp<GraphicBuffer> buffer = new GraphicBuffer();
|
||||
data.read(*buffer.get());
|
||||
int slot;
|
||||
int slot = -1;
|
||||
int result = attachBuffer(&slot, buffer);
|
||||
reply->writeInt32(slot);
|
||||
reply->writeInt32(result);
|
||||
|
@ -402,6 +402,7 @@ status_t BnGraphicBufferProducer::onTransact(
|
||||
QueueBufferOutput* const output =
|
||||
reinterpret_cast<QueueBufferOutput *>(
|
||||
reply->writeInplace(sizeof(QueueBufferOutput)));
|
||||
memset(output, 0, sizeof(QueueBufferOutput));
|
||||
status_t result = queueBuffer(buf, input, output);
|
||||
reply->writeInt32(result);
|
||||
return NO_ERROR;
|
||||
|
Loading…
Reference in New Issue
Block a user