Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5530baad authored by Steve Kondik's avatar Steve Kondik Committed by Gerrit Code Review
Browse files

Merge "liblog: Move kineto and qcom RIL messages to radio log" into ics

parents 8475fb5f 25a86312
Loading
Loading
Loading
Loading
+20 −2
Original line number Diff line number Diff line
@@ -146,7 +146,16 @@ 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, "KINETO") ||
        !strncmp(tag, "KIPC", 4) ||
        !strncmp(tag, "Kineto", 6) ||
        !strncmp(tag, "QCRIL", 5) ||
        !strncmp(tag, "QC-RIL", 6) ||
        !strncmp(tag, "QC-QMI", 6) ||
        !strncmp(tag, "QC-ONCRPC", 9) ||
        !strncmp(tag, "QC-DSI", 6)
        )
            log_id = LOG_ID_RADIO;

    vec[0].iov_base   = (unsigned char *) &prio;
@@ -174,7 +183,16 @@ 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, "KINETO") ||
        !strncmp(tag, "KIPC", 4) ||
        !strncmp(tag, "Kineto", 6) ||
        !strncmp(tag, "QCRIL", 5) ||
        !strncmp(tag, "QC-RIL", 6) ||
        !strncmp(tag, "QC-QMI", 6) ||
        !strncmp(tag, "QC-ONCRPC", 9) ||
        !strncmp(tag, "QC-DSI", 6)
        )
            bufID = LOG_ID_RADIO;

    vec[0].iov_base   = (unsigned char *) &prio;