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

Commit c750fa01 authored by Steven Moreland's avatar Steven Moreland Committed by Gerrit Code Review
Browse files

Merge "servicemanager: log on failed lazy start"

parents 27f2ed69 bfe9fbab
Loading
Loading
Loading
Loading
+6 −1
Original line number Original line Diff line number Diff line
@@ -481,7 +481,12 @@ void ServiceManager::tryStartService(const std::string& name) {
          name.c_str());
          name.c_str());


    std::thread([=] {
    std::thread([=] {
        (void)base::SetProperty("ctl.interface_start", "aidl/" + name);
        if (!base::SetProperty("ctl.interface_start", "aidl/" + name)) {
            LOG(INFO) << "Tried to start aidl service " << name
                      << " as a lazy service, but was unable to. Usually this happens when a "
                         "service is not installed, but if the service is intended to be used as a "
                         "lazy service, then it may be configured incorrectly.";
        }
    }).detach();
    }).detach();
}
}