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

Commit 81c7a629 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:...

Merge "atrace: Don't output service lookup/notification errors." am: 9753b433 am: acc03d82 am: b4951bb3
am: c874bf60

Change-Id: I2f82d450a9a07d1a30b8017e34ad1f158fac3eec
parents ff70fd8e c874bf60
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -552,17 +552,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
            }
        }
    });