commit | cd0fb478d095df6fbcf784454e5b85a8854295d5 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Wed Apr 28 19:07:28 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Apr 28 19:07:28 2021 +0000 |
tree | e2fdf0e8321319b5484fc8e3f6dc94cd8fcf0139 | |
parent | 8f02b01621e041a8007ca1378915d7e5b466da49 [diff] | |
parent | c750fa01333f68fca2e8ddd28398cc14e3568e21 [diff] |
Merge "servicemanager: log on failed lazy start" am: c750fa0133 Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1688726 Change-Id: I2694c698fe93b8d10de342ba80d660d99f3823b9
diff --git a/cmds/servicemanager/ServiceManager.cpp b/cmds/servicemanager/ServiceManager.cpp index b429fb3..90db509 100644 --- a/cmds/servicemanager/ServiceManager.cpp +++ b/cmds/servicemanager/ServiceManager.cpp
@@ -481,7 +481,12 @@ 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(); }