summaryrefslogtreecommitdiff
path: root/libs/binder/Parcel.cpp
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2021-07-23 13:35:25 -0700
committer Steven Moreland <smoreland@google.com> 2021-07-23 15:18:15 -0700
commit16a4106cb7bc18d473a428d9f19c7561a21e3f06 (patch)
treed23e66b4921fa7d2fec3e0b7355b210593fbc92b /libs/binder/Parcel.cpp
parentc18818c651a5c99c3945d455fb1f9045ca79322c (diff)
libbinder: remove per-binder wire protocol version
For the RPC project, I had added a version into the binder-level wire protocol. However, there is no plan to make the on-device wire protocol backwards compatible, and for RPC, this version needs to be stored with RpcSession objects, so it is not needed here. Bug: 182938972 Test: boot, binderStabilityTest Change-Id: Iad2e7ae77c562690015814ba8d8d439e1befc0b2
Diffstat (limited to 'libs/binder/Parcel.cpp')
-rw-r--r--libs/binder/Parcel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/binder/Parcel.cpp b/libs/binder/Parcel.cpp
index ebba375a79..956524ac74 100644
--- a/libs/binder/Parcel.cpp
+++ b/libs/binder/Parcel.cpp
@@ -173,7 +173,7 @@ static void release_object(const sp<ProcessState>& proc,
status_t Parcel::finishFlattenBinder(const sp<IBinder>& binder)
{
internal::Stability::tryMarkCompilationUnit(binder.get());
- int16_t rep = internal::Stability::getCategory(binder.get()).repr();
+ int16_t rep = internal::Stability::getRepr(binder.get());
return writeInt32(rep);
}