From ef086dd89daf8b94e788785f2a6c25c2f48e44ea Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Fri, 6 Jul 2018 12:43:30 -0700 Subject: libbinder: -case in 'Waiting for service' log. This log used to distinguish between vendor and system services, but I'm simplifying it here to just print the devnode. Bug: N/A Test: boot device Change-Id: Ie10042caf5d28c59e54a832a6bf7b140f6251265 --- libs/binder/IServiceManager.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'libs/binder/IServiceManager.cpp') diff --git a/libs/binder/IServiceManager.cpp b/libs/binder/IServiceManager.cpp index d0ed31eb58..c44a17ec25 100644 --- a/libs/binder/IServiceManager.cpp +++ b/libs/binder/IServiceManager.cpp @@ -161,12 +161,8 @@ public: int n = 0; while (uptimeMillis() < timeout) { n++; - if (isVendorService) { - ALOGI("Waiting for vendor service %s...", String8(name).string()); - CallStack stack(LOG_TAG); - } else if (n%10 == 0) { - ALOGI("Waiting for service %s...", String8(name).string()); - } + ALOGI("Waiting for service '%s' on '%s'...", String8(name).string(), + ProcessState::self()->getDriverName().c_str()); usleep(1000*sleepTime); sp svc = checkService(name); -- cgit v1.2.3-59-g8ed1b