summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice/MediaPlayerService.cpp
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-04-05 13:25:12 -0700
committerAndreas Huber <andih@google.com>2010-04-09 13:44:28 -0700
commitfe774a9c3ffe12979e182563b0e922ffc0ad20ef (patch)
tree2d345e603f5e4803a9003496712098ef457b0cb0 /media/libmediaplayerservice/MediaPlayerService.cpp
parent6e4f79aa417cf7ef9dcf3f4a36ee671886f7f40e (diff)
downloadframeworks_av-fe774a9c3ffe12979e182563b0e922ffc0ad20ef.zip
frameworks_av-fe774a9c3ffe12979e182563b0e922ffc0ad20ef.tar.gz
frameworks_av-fe774a9c3ffe12979e182563b0e922ffc0ad20ef.tar.bz2
Remove legacy NO_OPENCORE code bypass from MediaPlayerService.
Change-Id: I72db73c91673e0d7f1090e3b033ae915337dc16e
Diffstat (limited to 'media/libmediaplayerservice/MediaPlayerService.cpp')
-rw-r--r--media/libmediaplayerservice/MediaPlayerService.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/media/libmediaplayerservice/MediaPlayerService.cpp b/media/libmediaplayerservice/MediaPlayerService.cpp
index 594e010..fed4f95 100644
--- a/media/libmediaplayerservice/MediaPlayerService.cpp
+++ b/media/libmediaplayerservice/MediaPlayerService.cpp
@@ -228,14 +228,10 @@ MediaPlayerService::~MediaPlayerService()
sp<IMediaRecorder> MediaPlayerService::createMediaRecorder(pid_t pid)
{
-#ifndef NO_OPENCORE
sp<MediaRecorderClient> recorder = new MediaRecorderClient(this, pid);
wp<MediaRecorderClient> w = recorder;
Mutex::Autolock lock(mLock);
mMediaRecorderClients.add(w);
-#else
- sp<MediaRecorderClient> recorder = NULL;
-#endif
LOGV("Create new media recorder client from pid %d", pid);
return recorder;
}