summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2019-06-06 06:52:11 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2019-06-06 06:52:11 +0000
commit0e67b6626e563bce9860fad20d6cb2eab2cb0346 (patch)
tree05128c7b4eb4202273e2bf88cc1a89de88401c3d
parent36d110f68b09ee84fb58c1cb0ff0e085ed7de4da (diff)
parenta0db7b7ad76b9be9ec3bd60ea83e079a74a30401 (diff)
downloadlibhidl-0e67b6626e563bce9860fad20d6cb2eab2cb0346.tar.gz
Snap for 5636702 from a0db7b7ad76b9be9ec3bd60ea83e079a74a30401 to qt-c2f2-release
Change-Id: Ife319d36265d55b49c98078e20ab22aa7a5e9bd3
-rw-r--r--transport/HidlBinderSupport.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/transport/HidlBinderSupport.cpp b/transport/HidlBinderSupport.cpp
index 62b1755..352ed78 100644
--- a/transport/HidlBinderSupport.cpp
+++ b/transport/HidlBinderSupport.cpp
@@ -185,22 +185,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;