Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 74591d6c authored by Steven Moreland's avatar Steven Moreland Committed by Automerger Merge Worker
Browse files

Merge "libbinder: don't ignore sendDecStrong error" am: 10717131

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1833833

Change-Id: I48ad9bd27a0a3644c0f67e974a5bb605fa3e9f4e
parents d6443acc 10717131
Loading
Loading
Loading
Loading
+1 −3
Original line number Original line Diff line number Diff line
@@ -166,9 +166,7 @@ status_t RpcState::onBinderEntering(const sp<RpcSession>& session, uint64_t addr
        // We have timesRecd RPC refcounts, but we only need to hold on to one
        // 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
        // when we keep the object. All additional dec strongs are sent
        // immediately, we wait to send the last one in BpBinder::onLastDecStrong.
        // immediately, we wait to send the last one in BpBinder::onLastDecStrong.
        (void)session->sendDecStrong(address);
        return session->sendDecStrong(address);

        return OK;
    }
    }


    // we don't know about this binder, so the other side of the connection
    // we don't know about this binder, so the other side of the connection