aboutsummaryrefslogtreecommitdiffstats
path: root/liblog
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2012-07-17 11:16:07 -0700
committerJeff Sharkey <jsharkey@android.com>2012-07-17 11:32:21 -0700
commit44e95651dd1e07017ab85d05a542d2372dbb2baa (patch)
treefa9a65eda2f9167f22c6c7c9c09f5dc3a722c6fe /liblog
parent76e227b4d851741150250f75cca41b3955e2d9b9 (diff)
downloadsystem_core-44e95651dd1e07017ab85d05a542d2372dbb2baa.tar.gz
system_core-44e95651dd1e07017ab85d05a542d2372dbb2baa.tar.bz2
system_core-44e95651dd1e07017ab85d05a542d2372dbb2baa.zip
Force IMS logging into radio log.
Bug: 6497974 Change-Id: I4691f287b0abdce03ff211bd5b5b0037b8818ec9
Diffstat (limited to 'liblog')
-rw-r--r--liblog/logd_write.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/liblog/logd_write.c b/liblog/logd_write.c
index a0a753b9..168bdf87 100644
--- a/liblog/logd_write.c
+++ b/liblog/logd_write.c
@@ -146,7 +146,9 @@ int __android_log_write(int prio, const char *tag, const char *msg)
!strcmp(tag, "STK") ||
!strcmp(tag, "CDMA") ||
!strcmp(tag, "PHONE") ||
- !strcmp(tag, "SMS"))
+ !strcmp(tag, "SMS") ||
+ !strcmp(tag, "IMS") ||
+ !strcmp(tag, "IMSFW"))
log_id = LOG_ID_RADIO;
vec[0].iov_base = (unsigned char *) &prio;
@@ -174,7 +176,9 @@ int __android_log_buf_write(int bufID, int prio, const char *tag, const char *ms
!strcmp(tag, "STK") ||
!strcmp(tag, "CDMA") ||
!strcmp(tag, "PHONE") ||
- !strcmp(tag, "SMS"))
+ !strcmp(tag, "SMS") ||
+ !strcmp(tag, "IMS") ||
+ !strcmp(tag, "IMSFW"))
bufID = LOG_ID_RADIO;
vec[0].iov_base = (unsigned char *) &prio;