am ae892959: am 8980e0cc: Merge "libgui: Propagate error by clearing sp<GB>"

* commit 'ae892959e45a93fea665cbb0ac01a99c95f44c10':
  libgui: Propagate error by clearing sp<GB>
This commit is contained in:
Dan Stoza 2015-06-01 22:21:41 +00:00 committed by Android Git Automerger
commit 772a6280cd

View File

@ -59,6 +59,9 @@ public:
if (result == NO_ERROR) {
graphicBuffer = new GraphicBuffer();
result = reply.read(*graphicBuffer);
if (result != NO_ERROR) {
graphicBuffer.clear();
}
// reply.readStrongBinder();
// here we don't even have to read the BufferReference from
// the parcel, it'll die with the parcel.