summaryrefslogtreecommitdiffstats
path: root/init/keychords.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'init/keychords.cpp')
-rw-r--r--init/keychords.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/init/keychords.cpp b/init/keychords.cpp
index 7a7838dd3..1468c5703 100644
--- a/init/keychords.cpp
+++ b/init/keychords.cpp
@@ -78,11 +78,13 @@ static void handle_keychord() {
if (adb_enabled == "running") {
Service* svc = ServiceManager::GetInstance().FindServiceByKeychord(id);
if (svc) {
- INFO("Starting service %s from keychord\n", svc->name().c_str());
+ NOTICE("Starting service '%s' from keychord %d\n", svc->name().c_str(), id);
svc->Start();
} else {
- ERROR("service for keychord %d not found\n", id);
+ ERROR("Service for keychord %d not found\n", id);
}
+ } else {
+ WARNING("Not starting service for keychord %d because ADB is disabled\n", id);
}
}