commit | 91773046fbcc3da53e954a8bdbfdb95f9f482fca | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Fri Sep 24 02:38:57 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Sep 24 02:38:57 2021 +0000 |
tree | 652b0f11c82328853abfde6b3b24b8e90568580f | |
parent | ff13749a34b28da225cb1565052abe92547b93d8 [diff] | |
parent | 3ce91df4b0769c54fe1ecbd56d3142f6f97eb9ef [diff] |
Merge "libbinder: don't ignore sendDecStrong error" am: 1071713181 am: 74591d6c0a am: 12b8ea520c am: 4e83d437d3 am: 3ce91df4b0 Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1833833 Change-Id: I3b925336f1d1ee768ab4f53e9005da7fc002a0f7
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