OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17ae646
)
Do not log AT command traffic by default.
author
Nick Pelly
<npelly@google.com>
Thu, 24 Jun 2010 16:38:27 +0000
(09:38 -0700)
committer
Nick Pelly
<npelly@google.com>
Thu, 24 Jun 2010 18:48:54 +0000
(11:48 -0700)
Bug:
2792732
Change-Id: I0ef25f38f38685291af6680cf653046eb391da5a
core/jni/android_bluetooth_HeadsetBase.cpp
patch
|
blob
|
history
diff --git
a/core/jni/android_bluetooth_HeadsetBase.cpp
b/core/jni/android_bluetooth_HeadsetBase.cpp
index
b0b0cb8
..
3f14c3a
100644
(file)
--- 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);
}