diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2019-08-13 14:36:44 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-08-13 14:36:44 -0700 |
commit | dcf9bd6f192f07296053776ddc299274987a8048 (patch) | |
tree | a98bd977824a928c278e779300957269420c5dfe | |
parent | b2309d1bc5e9c5989bced5395fa77f40fd57fece (diff) | |
parent | 7ee486a3e40eb3f9a341feb8f4da028910ffede0 (diff) | |
download | libhidl-pie-cuttlefish-testing.tar.gz |
Snap for 5674421 from 87ba04ee03e404a61569a5f746148d5c475e179c to pi-platform-releasepie-cuttlefish-testing
am: 7ee486a3e4
Change-Id: Ib87f7a85fefd3a755bc3a6339bc0a55760e8d7e4
-rw-r--r-- | transport/HidlBinderSupport.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/transport/HidlBinderSupport.cpp b/transport/HidlBinderSupport.cpp index 4f8d7c5..ec23640 100644 --- a/transport/HidlBinderSupport.cpp +++ b/transport/HidlBinderSupport.cpp @@ -155,22 +155,6 @@ status_t readFromParcel(Status *s, const Parcel& parcel) { return status; } - // Skip over fat response headers. Not used (or propagated) in native code. - if (exception == Status::EX_HAS_REPLY_HEADER) { - // Note that the header size includes the 4 byte size field. - const int32_t header_start = parcel.dataPosition(); - int32_t header_size; - status = parcel.readInt32(&header_size); - if (status != OK) { - s->setFromStatusT(status); - return status; - } - parcel.setDataPosition(header_start + header_size); - // And fat response headers are currently only used when there are no - // exceptions, so act like there was no error. - exception = Status::EX_NONE; - } - if (exception == Status::EX_NONE) { *s = Status::ok(); return status; |