summaryrefslogtreecommitdiff
path: root/libs/binder/IServiceManager.cpp
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2020-05-19 18:10:07 +0000
committer Steven Moreland <smoreland@google.com> 2020-05-20 17:58:05 +0000
commitfb10b6b588c21b209e1522b4867c6b40b4be047e (patch)
treeec8aed2088888679e8bc45793ba6cc5522d0bbef /libs/binder/IServiceManager.cpp
parent9b5bf0f42d57387a3451aa9eb9bfb1075fcb91a4 (diff)
log when waiting on a servicemanager
Since vndservicemanager is no longer installed by default, this gets hit on those devices. Fixes: 156571068 Test: TH Change-Id: I31af865326e9a69042e5c53b63637b95d6de9ad1 (cherry picked from commit 39a572183a83a327008e8e8b37c315230778ba05) Merged-In: I31af865326e9a69042e5c53b63637b95d6de9ad1
Diffstat (limited to 'libs/binder/IServiceManager.cpp')
-rw-r--r--libs/binder/IServiceManager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/binder/IServiceManager.cpp b/libs/binder/IServiceManager.cpp
index 9888b59854..912d4706ed 100644
--- a/libs/binder/IServiceManager.cpp
+++ b/libs/binder/IServiceManager.cpp
@@ -95,6 +95,7 @@ sp<IServiceManager> defaultServiceManager()
while (sm == nullptr) {
sm = interface_cast<AidlServiceManager>(ProcessState::self()->getContextObject(nullptr));
if (sm == nullptr) {
+ ALOGE("Waiting 1s on context object on %s.", ProcessState::self()->getDriverName().c_str());
sleep(1);
}
}