• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/corennnnn


Commit MetaInfo

修訂a6cb3062ff754e9896978dc11b18480ed83d218c (tree)
時間2016-07-29 10:07:09
作者TreeHugger Robot <treehugger-gerrit@goog...>
CommiterAndroid (Google) Code Review

Log Message

Merge "Improved keychord logging." into nyc-mr1-dev

Change Summary

差異

--- a/init/keychords.cpp
+++ b/init/keychords.cpp
@@ -78,11 +78,13 @@ static void handle_keychord() {
7878 if (adb_enabled == "running") {
7979 Service* svc = ServiceManager::GetInstance().FindServiceByKeychord(id);
8080 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);
8282 svc->Start();
8383 } else {
84- ERROR("service for keychord %d not found\n", id);
84+ ERROR("Service for keychord %d not found\n", id);
8585 }
86+ } else {
87+ WARNING("Not starting service for keychord %d because ADB is disabled\n", id);
8688 }
8789 }
8890