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

Commit acc03d82 authored by Martijn Coenen's avatar Martijn Coenen Committed by android-build-merger
Browse files

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

am: 9753b433

Change-Id: I08da77d7664543aa1922a23792fa68f9094323ef
parents c972254b 9753b433
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
            }
        }
    });