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

Commit 4e21def0 authored by Devin Moore's avatar Devin Moore
Browse files

Add log for missing dump priority in addService

Test: none
Bug: none
Change-Id: If242067d33d0a81d72ce9f1cacc8e0d2668e96ee
parent ae68df27
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -355,6 +355,10 @@ Status ServiceManager::addService(const std::string& name, const sp<IBinder>& bi
    }
#endif  // !VENDORSERVICEMANAGER

    if ((dumpPriority & DUMP_FLAG_PRIORITY_ALL) == 0) {
        ALOGW("Dump flag priority is not set when adding %s", name.c_str());
    }

    // implicitly unlinked when the binder is removed
    if (binder->remoteBinder() != nullptr &&
        binder->linkToDeath(sp<ServiceManager>::fromExisting(this)) != OK) {