Merge "libgui: Propagate error by clearing sp<GB>"
This commit is contained in:
commit
8980e0ccd4
@ -59,6 +59,9 @@ public:
|
|||||||
if (result == NO_ERROR) {
|
if (result == NO_ERROR) {
|
||||||
graphicBuffer = new GraphicBuffer();
|
graphicBuffer = new GraphicBuffer();
|
||||||
result = reply.read(*graphicBuffer);
|
result = reply.read(*graphicBuffer);
|
||||||
|
if (result != NO_ERROR) {
|
||||||
|
graphicBuffer.clear();
|
||||||
|
}
|
||||||
// reply.readStrongBinder();
|
// reply.readStrongBinder();
|
||||||
// here we don't even have to read the BufferReference from
|
// here we don't even have to read the BufferReference from
|
||||||
// the parcel, it'll die with the parcel.
|
// the parcel, it'll die with the parcel.
|
||||||
|
Loading…
Reference in New Issue
Block a user