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

Commit 3ce91df4 authored by Steven Moreland's avatar Steven Moreland Committed by Automerger Merge Worker
Browse files

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

Merge "libbinder: don't ignore sendDecStrong error" am: 10717131 am: 74591d6c am: 12b8ea52 am: 4e83d437

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

Change-Id: Ie14f44d1ab6d5980532b898812f299cf8fc79cc9
parents 77d6f0b1 4e83d437
Loading
Loading
Loading
Loading
+1 −3
Original line number 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
        // 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