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

Commit 53ae1640 authored by James Dong's avatar James Dong
Browse files

Don't log streaming url.

o related-to-bug: 6994761

Change-Id: I79d5549a70b3bde67ddf496cfc6283ac92b1f569
parent 02d3c328
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -281,11 +281,7 @@ status_t AwesomePlayer::setDataSource_l(
        }
    }

    if (!(mFlags & INCOGNITO)) {
        ALOGI("setDataSource_l('%s')", mUri.string());
    } else {
    ALOGI("setDataSource_l(URL suppressed)");
    }

    // The actual work will be done during preparation in the call to
    // ::finishSetDataSource_l to avoid blocking the calling thread in
@@ -2582,7 +2578,7 @@ status_t AwesomePlayer::dump(int fd, const Vector<String16> &args) const {

    fprintf(out, " AwesomePlayer\n");
    if (mStats.mFd < 0) {
        fprintf(out, "  URI(%s)", mStats.mURI.string());
        fprintf(out, "  URI(suppressed)");
    } else {
        fprintf(out, "  fd(%d)", mStats.mFd);
    }
+1 −5
Original line number Diff line number Diff line
@@ -78,12 +78,8 @@ status_t ChromiumHTTPDataSource::connect_l(
        disconnect_l();
    }

    if (!(mFlags & kFlagIncognito)) {
        LOG_PRI(ANDROID_LOG_INFO, LOG_TAG, "connect to %s @%lld", uri, offset);
    } else {
    LOG_PRI(ANDROID_LOG_INFO, LOG_TAG,
                "connect to <URL suppressed> @%lld", offset);
    }

    mURI = uri;
    mContentType = String8("application/octet-stream");
+1 −5
Original line number Diff line number Diff line
@@ -167,11 +167,7 @@ void LiveSession::onConnect(const sp<AMessage> &msg) {
        headers = NULL;
    }

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

    mMasterURL = url;