Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 010147a1 authored by Steve Kondik's avatar Steve Kondik Committed by Gerrit Code Review
Browse files

Merge "Aligning native Parcel implementation to Java." into ics

parents e4f08266 7197c7aa
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;