From 16a4106cb7bc18d473a428d9f19c7561a21e3f06 Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Fri, 23 Jul 2021 13:35:25 -0700 Subject: 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 --- libs/binder/Parcel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/binder/Parcel.cpp') 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& proc, status_t Parcel::finishFlattenBinder(const sp& 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); } -- cgit v1.2.3-59-g8ed1b