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

Commit 70fcb4ea authored by Steven Moreland's avatar Steven Moreland
Browse files

libbinder: automatic unlink, print cached desc

This improves the logs in cases where there is no IPC overhead from
doing so.

Bug: 145692765
Test: boot
Change-Id: I3ca9605b369afd321cabd39f57c3e75a7b17c12d
parent 9f683732
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -435,7 +435,8 @@ void BpBinder::onLastStrongRef(const void* /*id*/)
    Vector<Obituary>* obits = mObituaries;
    if(obits != nullptr) {
        if (!obits->isEmpty()) {
            ALOGI("onLastStrongRef automatically unlinking death recipients");
            ALOGI("onLastStrongRef automatically unlinking death recipients: %s",
                  mDescriptorCache.size() ? String8(mDescriptorCache).c_str() : "<uncached descriptor>");
        }

        if (ipc) ipc->clearDeathNotification(mHandle, this);