summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice/MediaPlayerService.cpp
diff options
context:
space:
mode:
authorJeff Tinker <jtinker@google.com>2013-02-08 10:18:35 -0800
committerJeff Tinker <jtinker@google.com>2013-03-13 13:39:48 -0700
commit441a78d5e224e0d67f9b52fa9adc795c6944159b (patch)
tree855eed2e1ee757c6019b6da9137d659fdc20fdcf /media/libmediaplayerservice/MediaPlayerService.cpp
parentc148e7a671c289f82f6ca40e29defcc43e1c6d0b (diff)
downloadframeworks_av-441a78d5e224e0d67f9b52fa9adc795c6944159b.zip
frameworks_av-441a78d5e224e0d67f9b52fa9adc795c6944159b.tar.gz
frameworks_av-441a78d5e224e0d67f9b52fa9adc795c6944159b.tar.bz2
Implementing MediaDrm APIs
Change-Id: I9ff8eeb7d0c383b5c0c68cd54eb54ce7d2d22fe6
Diffstat (limited to 'media/libmediaplayerservice/MediaPlayerService.cpp')
-rw-r--r--media/libmediaplayerservice/MediaPlayerService.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/media/libmediaplayerservice/MediaPlayerService.cpp b/media/libmediaplayerservice/MediaPlayerService.cpp
index 16f1317..ec6ace1 100644
--- a/media/libmediaplayerservice/MediaPlayerService.cpp
+++ b/media/libmediaplayerservice/MediaPlayerService.cpp
@@ -72,6 +72,7 @@
#include <OMX.h>
#include "Crypto.h"
+#include "Drm.h"
#include "HDCP.h"
#include "RemoteDisplay.h"
@@ -285,6 +286,10 @@ sp<ICrypto> MediaPlayerService::makeCrypto() {
return new Crypto;
}
+sp<IDrm> MediaPlayerService::makeDrm() {
+ return new Drm;
+}
+
sp<IHDCP> MediaPlayerService::makeHDCP(bool createEncryptionModule) {
return new HDCP(createEncryptionModule);
}