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

Commit dc060f9c authored by Steven Moreland's avatar Steven Moreland Committed by Automerger Merge Worker
Browse files

Merge "servicemanager: log on failed lazy start" am: c750fa01 am: cd0fb478

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1688726

Change-Id: Idf05a0702e5d9e67f0def149dac7221df59f7a45
parents ad9814c4 cd0fb478
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();
}
}