summaryrefslogtreecommitdiff
path: root/libs/binder/RpcState.cpp
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2021-06-08 20:30:45 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2021-06-08 20:30:45 +0000
commit864bd976271fbe73dfef642990e32cdfabd51ac1 (patch)
tree88b7b987cf16acf22968b8d9d7db3ab6a4cb0f88 /libs/binder/RpcState.cpp
parent1b48b713a208d35308b6f990334444fd9b7febe0 (diff)
parenta5036f0b154f6ba0c78addf2499148eede5b6660 (diff)
Merge "libbinder: update 'TODO' comments for RPC"
Diffstat (limited to 'libs/binder/RpcState.cpp')
-rw-r--r--libs/binder/RpcState.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/binder/RpcState.cpp b/libs/binder/RpcState.cpp
index 3113841d27..6899981e83 100644
--- a/libs/binder/RpcState.cpp
+++ b/libs/binder/RpcState.cpp
@@ -400,6 +400,8 @@ status_t RpcState::transactAddress(const base::unique_fd& fd, const RpcAddress&
if (status_t status =
rpcSend(fd, session, "transaction", transactionData.data(), transactionData.size());
status != OK)
+ // TODO(b/167966510): need to undo onBinderLeaving - we know the
+ // refcount isn't successfully transferred.
return status;
if (flags & IBinder::FLAG_ONEWAY) {