From ed7ccae2968a75e09c22a3da90a9762170f96477 Mon Sep 17 00:00:00 2001 From: John Michelau Date: Wed, 19 Aug 2009 10:01:55 -0500 Subject: Route all log tags with "RIL" prefix to radio buffer. --- liblog/logd_write.c | 6 +----- 1 file changed, 1 insertion(+), 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") || -- cgit v1.1