summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorNick Pelly <npelly@google.com>2010-06-24 09:38:27 -0700
committerNick Pelly <npelly@google.com>2010-06-24 11:48:54 -0700
commit801dbe26ee027f78728dfa666238e0b51c230adb (patch)
tree2b6b695e2d7b71ead186471ed21f45dec990d29a /core
parent17ae646586663c59ad360bb72884beded7475687 (diff)
downloadframeworks_base-801dbe26ee027f78728dfa666238e0b51c230adb.zip
frameworks_base-801dbe26ee027f78728dfa666238e0b51c230adb.tar.gz
frameworks_base-801dbe26ee027f78728dfa666238e0b51c230adb.tar.bz2
Do not log AT command traffic by default.
Bug: 2792732 Change-Id: I0ef25f38f38685291af6680cf653046eb391da5a
Diffstat (limited to 'core')
-rw-r--r--core/jni/android_bluetooth_HeadsetBase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/jni/android_bluetooth_HeadsetBase.cpp b/core/jni/android_bluetooth_HeadsetBase.cpp
index b0b0cb8..3f14c3a 100644
--- a/core/jni/android_bluetooth_HeadsetBase.cpp
+++ b/core/jni/android_bluetooth_HeadsetBase.cpp
@@ -169,7 +169,7 @@ again:
// never receive non-ASCII UTF-8).
// This was added because of the BMW 2005 E46 which sends binary junk.
if (is_ascii(buf)) {
- LOG(LOG_INFO, "Bluetooth AT recv", buf);
+ IF_LOGV() LOG(LOG_VERBOSE, "Bluetooth AT recv", buf);
} else {
LOGW("Ignoring invalid AT command: %s", buf);
buf[0] = NULL;
@@ -494,7 +494,7 @@ static void pretty_log_urc(const char *urc) {
}
}
}
- LOG(LOG_INFO, "Bluetooth AT sent", buf);
+ IF_LOGV() LOG(LOG_VERBOSE, "Bluetooth AT sent", buf);
free(buf);
}