diff options
author | Nick Pelly <npelly@google.com> | 2010-06-24 09:38:27 -0700 |
---|---|---|
committer | android-build SharedAccount <android-build@sekiwake.mtv.corp.google.com> | 2010-06-24 12:30:30 -0700 |
commit | b50bbb5237adacb3a404685b31595fa5ae316e75 (patch) | |
tree | b27f69c6dc6b7f03100354433a976de50daf36d4 | |
parent | 299e5cfa3d5948869f456c5291517e94139d14dd (diff) | |
download | base-b50bbb5237adacb3a404685b31595fa5ae316e75.tar.gz |
Do not log AT command traffic by default.
Bug: 2792732
Change-Id: I0ef25f38f38685291af6680cf653046eb391da5a
-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 b0b0cb8200fd..3f14c3a6e276 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); } |