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

Commit 7b50c020 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Check and write some error in atrace."

parents e421c071 61954a4e
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -525,7 +525,12 @@ static void pokeHalServices()
            hidl_string fqInterfaceName = fqInstanceName.substr(0, n);
            hidl_string instanceName = fqInstanceName.substr(n+1, std::string::npos);
            auto getRet = sm->get(fqInterfaceName, instanceName, [&](const auto &interface) {
                interface->notifySyspropsChanged();
                auto notifyRet = interface->notifySyspropsChanged();
                if (!notifyRet.isOk()) {
                    fprintf(stderr, "failed to notifySyspropsChanged on service %s: %s\n",
                            fqInstanceName.c_str(),
                            notifyRet.getStatus().toString8().string());
                }
            });
            if (!getRet.isOk()) {
                fprintf(stderr, "failed to get service %s: %s\n",