Hi,

This fix the compilation issue for in the frameworks

Michael

It is a temp hack to avoid the creation of the object. The interface
lack three function.

Signed-off-by: Michael Trimarchi <[email protected]>
---
diff --git a/media/libmediaplayerservice/MediaPlayerService.cpp b/media/libmediaplayerservice/MediaPlayerService.cpp
index 95001c6..0aa9747 100644
--- a/media/libmediaplayerservice/MediaPlayerService.cpp
+++ b/media/libmediaplayerservice/MediaPlayerService.cpp
@@ -105,11 +105,11 @@ MediaPlayerService::~MediaPlayerService()
 
 sp<IMediaRecorder> MediaPlayerService::createMediaRecorder(pid_t pid)
 {
-#ifndef NO_OPENCORE
-    sp<MediaRecorderClient> recorder = new MediaRecorderClient(pid);
-#else
+//#ifndef NO_OPENCORE
+//    sp<MediaRecorderClient> recorder = new MediaRecorderClient(pid);
+//#else
     sp<MediaRecorderClient> recorder = NULL;
-#endif
+//#endif
     LOGV("Create new media recorder client from pid %d", pid);
     return recorder;
 }
_______________________________________________
android-freerunner mailing list
[email protected]
http://android.koolu.org/listinfo.cgi/android-freerunner-koolu.org

Reply via email to