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

Commit 7ba43785 authored by Devin Moore's avatar Devin Moore
Browse files

Add comment explaining BpBinder::linkToDeath invalid operation

Test: none
Bug: none
Change-Id: I5e55018314079b895084d2ae06a197b9d9e54480
parent 6dfc509a
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -445,6 +445,9 @@ status_t BBinder::linkToDeath(
    const sp<DeathRecipient>& /*recipient*/, void* /*cookie*/,
    const sp<DeathRecipient>& /*recipient*/, void* /*cookie*/,
    uint32_t /*flags*/)
    uint32_t /*flags*/)
{
{
    // BBinder::linkToDeath is invalid because this process owns this binder.
    // The DeathRecipient is called on BpBinders when the process owning the
    // binder node dies.
    return INVALID_OPERATION;
    return INVALID_OPERATION;
}
}