diff options
| author | Steven Moreland <smoreland@google.com> | 2019-08-29 09:47:37 -0700 |
|---|---|---|
| committer | android-build-merger <android-build-merger@google.com> | 2019-08-29 09:47:37 -0700 |
| commit | 2cf04899dab04f401ded8c1c9d445d49bb862420 (patch) | |
| tree | 320cf9975a9fb574620404b8053f6b0071a16197 /ServiceManager.cpp | |
| parent | a7df9f05f5221ada4e48fbfb8b67cf42dd9062b8 (diff) | |
| parent | 8541be0e72d8dc6dcfca49064d3547d834f8847c (diff) | |
| download | platform_system_hwservicemanager-2cf04899dab04f401ded8c1c9d445d49bb862420.tar.gz platform_system_hwservicemanager-2cf04899dab04f401ded8c1c9d445d49bb862420.tar.bz2 platform_system_hwservicemanager-2cf04899dab04f401ded8c1c9d445d49bb862420.zip | |
Lazy start remove redundant log. am: 52fde2119d am: d20a0bbcdd am: 0fd475648c am: e9a195ad3c
am: 8541be0e72
Change-Id: I84bde7bb8bc6fc3f45135f8f1301e83343015001
Diffstat (limited to 'ServiceManager.cpp')
| -rw-r--r-- | ServiceManager.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ServiceManager.cpp b/ServiceManager.cpp index f4087c4..6a9864f 100644 --- a/ServiceManager.cpp +++ b/ServiceManager.cpp @@ -255,11 +255,7 @@ static void tryStartService(const std::string& fqName, const std::string& name) << " is not registered, trying to start it as a lazy HAL."; std::thread([=] { - bool success = SetProperty("ctl.interface_start", fqName + "/" + name); - - if (!success) { - LOG(ERROR) << "Failed to set property for starting " << fqName << "/" << name; - } + (void)SetProperty("ctl.interface_start", fqName + "/" + name); }).detach(); } |
