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

Commit a8b8488f authored by David Williams's avatar David Williams Committed by Hidenari Koshimae
Browse files

Remove streaming URI from default logs

Streaming URI should not be visible in default logcat logs

Change-Id: I104cc56b5335f8c5621013e4c5be8028f0379833
parent 2ad7af29
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -400,7 +400,7 @@ void LiveSession::onConnect(const sp<AMessage> &msg) {
    mPlaylist = fetchPlaylist(url.c_str(), NULL /* curPlaylistHash */, &dummy);

    if (mPlaylist == NULL) {
        ALOGE("unable to fetch master playlist '%s'.", url.c_str());
        ALOGE("unable to fetch master playlist <URL suppressed>.");

        postPrepared(ERROR_IO);
        return;
+1 −2
Original line number Diff line number Diff line
@@ -780,8 +780,7 @@ status_t M3UParser::parseCipherInfo(
                if (MakeURL(baseURI.c_str(), val.c_str(), &absURI)) {
                    val = absURI;
                } else {
                    ALOGE("failed to make absolute url for '%s'.",
                         val.c_str());
                    ALOGE("failed to make absolute url for <URL suppressed>.");
                }
            }

+1 −1
Original line number Diff line number Diff line
@@ -239,7 +239,7 @@ void ARTSPConnection::onConnect(const sp<AMessage> &msg) {
        // right here, since we currently have no way of asking the user
        // for this information.

        ALOGE("Malformed rtsp url %s", url.c_str());
        ALOGE("Malformed rtsp url <URL suppressed>");

        reply->setInt32("result", ERROR_MALFORMED);
        reply->post();
+1 −1
Original line number Diff line number Diff line
@@ -149,7 +149,7 @@ struct MyHandler : public AHandler {
            mSessionURL.append(StringPrintf("%u", port));
            mSessionURL.append(path);

            ALOGI("rewritten session url: '%s'", mSessionURL.c_str());
            ALOGV("rewritten session url: '%s'", mSessionURL.c_str());
        }

        mSessionHost = host;
+1 −1
Original line number Diff line number Diff line
@@ -95,7 +95,7 @@ void SDPLoader::onLoad(const sp<AMessage> &msg) {
    msg->findPointer("headers", (void **)&headers);

    if (!(mFlags & kFlagIncognito)) {
        ALOGI("onLoad '%s'", url.c_str());
        ALOGV("onLoad '%s'", url.c_str());
    } else {
        ALOGI("onLoad <URL suppressed>");
    }