commit | 12b8ea520c35a9f971c2e7523c05486cb0ab1ea6 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Fri Sep 24 02:05:00 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Sep 24 02:05:00 2021 +0000 |
tree | e28a8fa7ee7b477e15fe7ecc385957e1e0aa252a | |
parent | 8e19185e6136d056041a0c4512430fc136e6149c [diff] | |
parent | 74591d6c0a5d7e2076da9c03b6701932d0f510c6 [diff] |
Merge "libbinder: don't ignore sendDecStrong error" am: 1071713181 am: 74591d6c0a Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1833833 Change-Id: If3dd0586318037187a64a31457880b10683f4cb4
diff --git a/libs/binder/RpcState.cpp b/libs/binder/RpcState.cpp index dcba837..df935fe 100644 --- a/libs/binder/RpcState.cpp +++ b/libs/binder/RpcState.cpp
@@ -166,9 +166,7 @@ // We have timesRecd RPC refcounts, but we only need to hold on to one // when we keep the object. All additional dec strongs are sent // immediately, we wait to send the last one in BpBinder::onLastDecStrong. - (void)session->sendDecStrong(address); - - return OK; + return session->sendDecStrong(address); } // we don't know about this binder, so the other side of the connection