diff options
| author | Jeff Sharkey <jsharkey@android.com> | 2012-08-13 11:27:30 -0700 |
|---|---|---|
| committer | Jeff Sharkey <jsharkey@android.com> | 2012-08-13 11:27:54 -0700 |
| commit | 84dcf091482b8d0f484e665915d354069a8c879b (patch) | |
| tree | 54121b91e34b4d5ecef048466f8a97a15f724537 | |
| parent | 9a7b9aab08e5640a08b312807dc57fcd469a77f2 (diff) | |
| download | system_core-84dcf091482b8d0f484e665915d354069a8c879b.zip system_core-84dcf091482b8d0f484e665915d354069a8c879b.tar.gz system_core-84dcf091482b8d0f484e665915d354069a8c879b.tar.bz2 | |
Collapse IMS tags into a prefix check.
Bug: 6497974
Change-Id: I7fba1a07e2552ce16131b81f30d18eb3192de7ef
| -rw-r--r-- | liblog/logd_write.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/liblog/logd_write.c b/liblog/logd_write.c index 168bdf8..b91de52 100644 --- a/liblog/logd_write.c +++ b/liblog/logd_write.c @@ -141,14 +141,13 @@ int __android_log_write(int prio, const char *tag, const char *msg) /* XXX: This needs to go! */ if (!strcmp(tag, "HTC_RIL") || !strncmp(tag, "RIL", 3) || /* Any log tag with "RIL" as the prefix */ + !strncmp(tag, "IMS", 3) || /* Any log tag with "IMS" as the prefix */ !strcmp(tag, "AT") || !strcmp(tag, "GSM") || !strcmp(tag, "STK") || !strcmp(tag, "CDMA") || !strcmp(tag, "PHONE") || - !strcmp(tag, "SMS") || - !strcmp(tag, "IMS") || - !strcmp(tag, "IMSFW")) + !strcmp(tag, "SMS")) log_id = LOG_ID_RADIO; vec[0].iov_base = (unsigned char *) &prio; @@ -171,14 +170,13 @@ int __android_log_buf_write(int bufID, int prio, const char *tag, const char *ms /* XXX: This needs to go! */ if (!strcmp(tag, "HTC_RIL") || !strncmp(tag, "RIL", 3) || /* Any log tag with "RIL" as the prefix */ + !strncmp(tag, "IMS", 3) || /* Any log tag with "IMS" as the prefix */ !strcmp(tag, "AT") || !strcmp(tag, "GSM") || !strcmp(tag, "STK") || !strcmp(tag, "CDMA") || !strcmp(tag, "PHONE") || - !strcmp(tag, "SMS") || - !strcmp(tag, "IMS") || - !strcmp(tag, "IMSFW")) + !strcmp(tag, "SMS")) bufID = LOG_ID_RADIO; vec[0].iov_base = (unsigned char *) &prio; |
