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

Commit 91773046 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 am: 3ce91df4

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

Change-Id: I3b925336f1d1ee768ab4f53e9005da7fc002a0f7
parents ff13749a 3ce91df4
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