diff options
| author | 2021-06-08 02:26:57 +0000 | |
|---|---|---|
| committer | 2021-06-08 02:26:57 +0000 | |
| commit | a5036f0b154f6ba0c78addf2499148eede5b6660 (patch) | |
| tree | 03d59f813f12f16071ed54aeb1fd41f05b0eb3c4 /libs/binder/Parcel.cpp | |
| parent | d45be62a2bdd204d5d728aaa56653ea5e072cd9c (diff) | |
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
Diffstat (limited to 'libs/binder/Parcel.cpp')
| -rw-r--r-- | libs/binder/Parcel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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<IBinder>& 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); |