From a5036f0b154f6ba0c78addf2499148eede5b6660 Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Tue, 8 Jun 2021 02:26:57 +0000 Subject: libbinder: update 'TODO' comments for RPC Some stale/duplicated removed. Some bug numbers updated. Some added based on what I've been thinking about. Bug: N/A Test: N/A Change-Id: I963bec5085b4d6868126d90c12c62cd64f31ddc0 --- libs/binder/Parcel.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/binder/Parcel.cpp') diff --git a/libs/binder/Parcel.cpp b/libs/binder/Parcel.cpp index 232a70c894..ebba375a79 100644 --- a/libs/binder/Parcel.cpp +++ b/libs/binder/Parcel.cpp @@ -206,6 +206,7 @@ status_t Parcel::flattenBinder(const sp& binder) { status_t status = writeInt32(1); // non-null if (status != OK) return status; RpcAddress address = RpcAddress::zero(); + // TODO(b/167966510): need to undo this if the Parcel is not sent status = mSession->state()->onBinderLeaving(mSession, binder, &address); if (status != OK) return status; status = address.writeToParcel(this); -- cgit v1.2.3-59-g8ed1b