diff options
| author | 2010-06-24 12:29:06 -0700 | |
|---|---|---|
| committer | 2010-06-24 12:29:06 -0700 | |
| commit | d8a86f0724defa231d9f2243f4c604d33eaeda63 (patch) | |
| tree | 966d5fc743d8e256fa7fb0b096dd70c795871936 | |
| parent | b207c687e51e78372fa40d53a17eec08f6dbf9bc (diff) | |
| parent | db1bae9a966150d7f6cc7d3e325cc8a4bf64b978 (diff) | |
am db1bae9a: am 9bf39efb: Do not log AT command traffic by default.
Merge commit 'db1bae9a966150d7f6cc7d3e325cc8a4bf64b978'
* commit 'db1bae9a966150d7f6cc7d3e325cc8a4bf64b978':
Do not log AT command traffic by default.
| -rw-r--r-- | core/jni/android_bluetooth_HeadsetBase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/jni/android_bluetooth_HeadsetBase.cpp b/core/jni/android_bluetooth_HeadsetBase.cpp index 5593a26b00f8..4e9fbaf1bd62 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", "%s", buf); + IF_LOGV() LOG(LOG_VERBOSE, "Bluetooth AT recv", "%s", 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", "%s", buf); + IF_LOGV() LOG(LOG_VERBOSE, "Bluetooth AT sent", "%s", buf); free(buf); } |