summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-08-20 09:42:46 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-08-20 09:42:46 -0700
commit46fdd2676ea0dd4ca46493440bb4e6eaecf8795d (patch)
treea861d041372393564a1055ec35f2e843894bd037
parent5f1b3393ab580d7f85916ddd2d6b2dbd1077366b (diff)
parented7ccae2968a75e09c22a3da90a9762170f96477 (diff)
downloadsystem_core-46fdd2676ea0dd4ca46493440bb4e6eaecf8795d.zip
system_core-46fdd2676ea0dd4ca46493440bb4e6eaecf8795d.tar.gz
system_core-46fdd2676ea0dd4ca46493440bb4e6eaecf8795d.tar.bz2
Merge change 21956 into eclair
* changes: Route all log tags with "RIL" prefix to radio buffer.
-rw-r--r--liblog/logd_write.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/liblog/logd_write.c b/liblog/logd_write.c
index 96da38b..241dbf0 100644
--- a/liblog/logd_write.c
+++ b/liblog/logd_write.c
@@ -142,11 +142,7 @@ int __android_log_write(int prio, const char *tag, const char *msg)
/* XXX: This needs to go! */
if (!strcmp(tag, "HTC_RIL") ||
- !strcmp(tag, "RILJ") ||
- !strcmp(tag, "RILB") ||
- !strcmp(tag, "RILC") ||
- !strcmp(tag, "RILD") ||
- !strcmp(tag, "RIL") ||
+ !strncmp(tag, "RIL", 3) || /* Any log tag with "RIL" as the prefix */
!strcmp(tag, "AT") ||
!strcmp(tag, "GSM") ||
!strcmp(tag, "STK") ||