diff options
| author | 2021-06-08 20:51:49 +0000 | |
|---|---|---|
| committer | 2021-06-08 20:51:49 +0000 | |
| commit | a05a025bcc6384d8ac07f01bea691f30040d0e09 (patch) | |
| tree | 88b7b987cf16acf22968b8d9d7db3ab6a4cb0f88 /libs/binder/Parcel.cpp | |
| parent | 2c1d00130ad709dfe5cf1bfc612225e755d18dcf (diff) | |
| parent | 864bd976271fbe73dfef642990e32cdfabd51ac1 (diff) | |
Merge "libbinder: update 'TODO' comments for RPC" am: 864bd97627
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1729614
Change-Id: Ie88dcf382806ebfd2124d80b0628af381a4631bd
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); |