commit | cfa4928af71aaaf11ed6ae7ad921649e195aa5d5 | [log] [tgz] |
---|---|---|
author | Martijn Coenen <maco@google.com> | Mon Apr 09 06:55:32 2018 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Mon Apr 09 06:55:32 2018 +0000 |
tree | 895402e207bec970dfae329cf29e6cc6582f3f6a | |
parent | 9d8d52b6f1404c1c0e8e90628f5228cffe43a7f9 [diff] | |
parent | f8542381b72a7bb2452a5278a00ca8c34edbf8a0 [diff] |
Merge "Don't pad before calling writeInPlace()." into pi-dev
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;