diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2019-08-13 16:39:09 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2019-08-13 16:39:09 +0000 |
commit | 7ee486a3e40eb3f9a341feb8f4da028910ffede0 (patch) | |
tree | a98bd977824a928c278e779300957269420c5dfe | |
parent | bfbb76f4bb9c44194d505828ba0f0c7f9401ba0c (diff) | |
parent | 87ba04ee03e404a61569a5f746148d5c475e179c (diff) | |
download | libhidl-7ee486a3e40eb3f9a341feb8f4da028910ffede0.tar.gz |
Snap for 5674421 from 87ba04ee03e404a61569a5f746148d5c475e179c to pi-platform-releasepie-platform-release
Change-Id: Ia73478096d83939ba11396632be8e37b6c73b5f7
-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; |