commit | a85157fc6d54547942a94b94ea53fbc506d0598e | [log] [tgz] |
---|---|---|
author | Martijn Coenen <maco@google.com> | Mon Apr 09 00:07:15 2018 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Mon Apr 09 00:07:15 2018 -0700 |
tree | ccff9b97d72e93a2479f6f51c3ac9719541c51a7 | |
parent | d93c8ee42caac348f8924e104fbaf88a171815f8 [diff] | |
parent | cfa4928af71aaaf11ed6ae7ad921649e195aa5d5 [diff] |
Merge "Don't pad before calling writeInPlace()." into pi-dev am: cfa4928af7 Change-Id: I86224b9ea02dd5906776b6ad24888f5fe7d57bc4
diff --git a/libs/binder/Parcel.cpp b/libs/binder/Parcel.cpp index f739f07..2d196c1 100644 --- a/libs/binder/Parcel.cpp +++ b/libs/binder/Parcel.cpp
@@ -1276,7 +1276,7 @@ if (err) return err; // payload - void* const buf = this->writeInplace(pad_size(len)); + void* const buf = this->writeInplace(len); if (buf == NULL) return BAD_VALUE;