Skip to content

Commit

Permalink
Merge "Aligning native Parcel implementation to Java." into ics
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperb1iss authored and Gerrit Code Review committed Jun 10, 2012
2 parents e4f0826 + 7197c7a commit 010147a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/binder/Parcel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1060,10 +1060,11 @@ int32_t Parcel::readExceptionCode() const
{
int32_t exception_code = readAligned<int32_t>();
if (exception_code == EX_HAS_REPLY_HEADER) {
int32_t header_start = dataPosition();
int32_t header_size = readAligned<int32_t>();
// Skip over fat responses headers. Not used (or propagated) in
// native code
setDataPosition(dataPosition() + header_size);
setDataPosition(header_start + header_size);
// And fat response headers are currently only used when there are no
// exceptions, so return no error:
return 0;
Expand Down

0 comments on commit 010147a

Please sign in to comment.