commit | 325909a4e47eff6ea2637d77cb04f16c71f78cce | [log] [tgz] |
---|---|---|
author | Android Build Merger (Role) <noreply-android-build-merger@google.com> | Mon Apr 16 18:57:35 2018 +0000 |
committer | Android Build Merger (Role) <noreply-android-build-merger@google.com> | Mon Apr 16 18:57:35 2018 +0000 |
tree | 8c6672ebca45b80599f0c73e5f3c8df5b3e9153d | |
parent | 22b59509941a6c0928a908ef543272682a7574c2 [diff] | |
parent | a6a5c3fa47214bb275fccebae7f01af6ea053a2b [diff] |
[automerger] Don't pad before calling writeInPlace(). am: 732132b765 am: a6a5c3fa47 Change-Id: I729908048f3ba8fea012dda2888bf8f42b6dada8
diff --git a/libs/binder/Parcel.cpp b/libs/binder/Parcel.cpp index ef72b3e..6814e6b 100644 --- a/libs/binder/Parcel.cpp +++ b/libs/binder/Parcel.cpp
@@ -1020,7 +1020,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;