diff options
| author | 2021-06-08 20:30:45 +0000 | |
|---|---|---|
| committer | 2021-06-08 20:30:45 +0000 | |
| commit | 864bd976271fbe73dfef642990e32cdfabd51ac1 (patch) | |
| tree | 88b7b987cf16acf22968b8d9d7db3ab6a4cb0f88 /libs/binder/Parcel.cpp | |
| parent | 1b48b713a208d35308b6f990334444fd9b7febe0 (diff) | |
| parent | a5036f0b154f6ba0c78addf2499148eede5b6660 (diff) | |
Merge "libbinder: update 'TODO' comments for RPC"
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); |