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

Commit f85aad58 authored by Yifan Hong's avatar Yifan Hong Committed by android-build-merger
Browse files

Merge "Check and write some error in atrace." am: 7b50c020 am: 89c634b6

am: 651068c9

Change-Id: Ic27e4f2ada80478464be65a07ae6120f05b02b2b
parents deae7951 651068c9
Loading
Loading
Loading
Loading
+6 −1
Original line number Original line Diff line number Diff line
@@ -526,7 +526,12 @@ static void pokeHalServices()
            hidl_string fqInterfaceName = fqInstanceName.substr(0, n);
            hidl_string fqInterfaceName = fqInstanceName.substr(0, n);
            hidl_string instanceName = fqInstanceName.substr(n+1, std::string::npos);
            hidl_string instanceName = fqInstanceName.substr(n+1, std::string::npos);
            auto getRet = sm->get(fqInterfaceName, instanceName, [&](const auto &interface) {
            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()) {
            if (!getRet.isOk()) {
                fprintf(stderr, "failed to get service %s: %s\n",
                fprintf(stderr, "failed to get service %s: %s\n",