summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice/nuplayer/HTTPLiveSource.cpp
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2014-02-05 11:52:33 -0800
committerAndreas Huber <andih@google.com>2014-02-05 12:27:54 -0800
commit81e68448f3361eaf8618930471fdc3c21bdf5cbc (patch)
treeafc00a9a35746f18f85200755870067b4d63dd80 /media/libmediaplayerservice/nuplayer/HTTPLiveSource.cpp
parent412d4744efae64083e4f99a664e3efaba031af48 (diff)
downloadframeworks_av-81e68448f3361eaf8618930471fdc3c21bdf5cbc.zip
frameworks_av-81e68448f3361eaf8618930471fdc3c21bdf5cbc.tar.gz
frameworks_av-81e68448f3361eaf8618930471fdc3c21bdf5cbc.tar.bz2
Remove no longer needed http proxy handling code, it's obsolete now
since we started to use java's HTTPConnection instead of the native implementation. Also remove other remnants of the previous http implementation, such as accounting for the http user's uid. Change-Id: I60bfd31381ea40d2220db587ec5c433093b60034
Diffstat (limited to 'media/libmediaplayerservice/nuplayer/HTTPLiveSource.cpp')
-rw-r--r--media/libmediaplayerservice/nuplayer/HTTPLiveSource.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/media/libmediaplayerservice/nuplayer/HTTPLiveSource.cpp b/media/libmediaplayerservice/nuplayer/HTTPLiveSource.cpp
index e4145e6..ac2aab8 100644
--- a/media/libmediaplayerservice/nuplayer/HTTPLiveSource.cpp
+++ b/media/libmediaplayerservice/nuplayer/HTTPLiveSource.cpp
@@ -37,13 +37,10 @@ NuPlayer::HTTPLiveSource::HTTPLiveSource(
const sp<AMessage> &notify,
const sp<IMediaHTTPService> &httpService,
const char *url,
- const KeyedVector<String8, String8> *headers,
- bool uidValid, uid_t uid)
+ const KeyedVector<String8, String8> *headers)
: Source(notify),
mHTTPService(httpService),
mURL(url),
- mUIDValid(uidValid),
- mUID(uid),
mFlags(0),
mFinalResult(OK),
mOffset(0),
@@ -82,9 +79,7 @@ void NuPlayer::HTTPLiveSource::prepareAsync() {
mLiveSession = new LiveSession(
notify,
(mFlags & kFlagIncognito) ? LiveSession::kFlagIncognito : 0,
- mHTTPService,
- mUIDValid,
- mUID);
+ mHTTPService);
mLiveLooper->registerHandler(mLiveSession);