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

Commit b5fb48bf authored by Steve Kondik's avatar Steve Kondik
Browse files

liblog: I <3 you Kineto, but STFU.

Kineto's native library obliterates the logs with debug info, which
makes me a sad panda when trying to debug other things. Send it to the
RADIO bucket instead.

Change-Id: I6e6a7a54a84d41cd189f9eb48518b990b8b13a89
parent 51792114
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -146,7 +146,10 @@ 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))
            log_id = LOG_ID_RADIO;

    vec[0].iov_base   = (unsigned char *) &prio;
@@ -174,7 +177,10 @@ 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))
            bufID = LOG_ID_RADIO;

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