From 53ae1640ffbfc690962f7f94694b02680c6f66cb Mon Sep 17 00:00:00 2001 From: James Dong Date: Fri, 17 Aug 2012 13:41:59 -0700 Subject: Don't log streaming url. o related-to-bug: 6994761 Change-Id: I79d5549a70b3bde67ddf496cfc6283ac92b1f569 --- media/libstagefright/AwesomePlayer.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'media/libstagefright/AwesomePlayer.cpp') diff --git a/media/libstagefright/AwesomePlayer.cpp b/media/libstagefright/AwesomePlayer.cpp index 664d5dd..e18fcbc 100644 --- a/media/libstagefright/AwesomePlayer.cpp +++ b/media/libstagefright/AwesomePlayer.cpp @@ -281,11 +281,7 @@ status_t AwesomePlayer::setDataSource_l( } } - if (!(mFlags & INCOGNITO)) { - ALOGI("setDataSource_l('%s')", mUri.string()); - } else { - ALOGI("setDataSource_l(URL suppressed)"); - } + 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 &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); } -- cgit v1.1