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

Commit 9753b433 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "atrace: Don't output service lookup/notification errors."

parents 7e894fc9 1e4a7fbd
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -549,17 +549,13 @@ static void pokeHalServices()
            hidl_string instanceName = fqInstanceName.substr(n+1, std::string::npos);
            Return<sp<IBase>> interfaceRet = sm->get(fqInterfaceName, instanceName);
            if (!interfaceRet.isOk()) {
                fprintf(stderr, "failed to get service %s: %s\n",
                        fqInstanceName.c_str(),
                        interfaceRet.description().c_str());
                // ignore
                continue;
            }
            sp<IBase> interface = interfaceRet;
            auto notifyRet = interface->notifySyspropsChanged();
            if (!notifyRet.isOk()) {
                fprintf(stderr, "failed to notifySyspropsChanged on service %s: %s\n",
                        fqInstanceName.c_str(),
                        notifyRet.description().c_str());
                // ignore
            }
        }
    });