summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2019-06-12 09:56:24 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2019-06-12 09:56:24 +0000
commit87ba04ee03e404a61569a5f746148d5c475e179c (patch)
treea98bd977824a928c278e779300957269420c5dfe
parent85659befb26239dbfb08bd4d61bc10ac758a476b (diff)
parent0c2e456a557248ddeffe0e00c967820ee06e2228 (diff)
downloadlibhidl-pie-qpr3-b-release.tar.gz
Merge cherrypicks of [7995446, 7995447, 7996042, 7996138, 7995448, 7995449, 7995789, 7995790, 7995450, 7996029, 7996030, 7996139, 7996140, 7996141, 7996142, 7996143, 7996144, 7995544, 7995545, 7995546, 7995547, 7995548, 7995549, 7995550, 7996145, 7996146, 7996032, 7996147, 7996148, 7996149, 7996150, 7994747, 7994748, 7995451, 7994749, 7994750, 7995966, 7995967, 7994751, 7996151, 7996152, 7996153] into pi-qpr3-b-releaseandroid-9.0.0_r47pie-qpr3-b-release
Change-Id: I82dfe5b13c97e170ac86aa8bbd6dc87b525e7242
-rw-r--r--transport/HidlBinderSupport.cpp16
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;