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

Commit d59b18b2 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...

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

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

Change-Id: Ic0dfce44aa70cf1a30d8114ea1bb59305749822a
parents f551f7fe c504bbfd
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -481,7 +481,12 @@ void ServiceManager::tryStartService(const std::string& name) {
          name.c_str());

    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();
}