system/corennnnn
修訂 | a6cb3062ff754e9896978dc11b18480ed83d218c (tree) |
---|---|
時間 | 2016-07-29 10:07:09 |
作者 | TreeHugger Robot <treehugger-gerrit@goog...> |
Commiter | Android (Google) Code Review |
Merge "Improved keychord logging." into nyc-mr1-dev
@@ -78,11 +78,13 @@ static void handle_keychord() { | ||
78 | 78 | if (adb_enabled == "running") { |
79 | 79 | Service* svc = ServiceManager::GetInstance().FindServiceByKeychord(id); |
80 | 80 | if (svc) { |
81 | - INFO("Starting service %s from keychord\n", svc->name().c_str()); | |
81 | + NOTICE("Starting service '%s' from keychord %d\n", svc->name().c_str(), id); | |
82 | 82 | svc->Start(); |
83 | 83 | } else { |
84 | - ERROR("service for keychord %d not found\n", id); | |
84 | + ERROR("Service for keychord %d not found\n", id); | |
85 | 85 | } |
86 | + } else { | |
87 | + WARNING("Not starting service for keychord %d because ADB is disabled\n", id); | |
86 | 88 | } |
87 | 89 | } |
88 | 90 |