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

Commit 8bcb5037 authored by Steven Moreland's avatar Steven Moreland
Browse files

libbinder_ndk: add log to death rec. CHECK

This would have saved a cycle to discover an issue with wp::fromExisting
bug.

Bug: N/A
Test: N/A
Change-Id: I321208cf0ef79bbd821510018c15e0c96dfa14ad
parent 8410eca9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -363,7 +363,8 @@ const char* AIBinder_Class_getDescriptor(const AIBinder_Class* clazz) {
}

void AIBinder_DeathRecipient::TransferDeathRecipient::binderDied(const wp<IBinder>& who) {
    CHECK(who == mWho);
    CHECK(who == mWho) << who.unsafe_get() << "(" << who.get_refs() << ") vs " << mWho.unsafe_get()
                       << " (" << mWho.get_refs() << ")";

    mOnDied(mCookie);