summaryrefslogtreecommitdiff
path: root/libdrmdecrypt/crypto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libdrmdecrypt/crypto.cpp')
-rw-r--r--libdrmdecrypt/crypto.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/libdrmdecrypt/crypto.cpp b/libdrmdecrypt/crypto.cpp
new file mode 100644
index 00000000..511f72f4
--- /dev/null
+++ b/libdrmdecrypt/crypto.cpp
@@ -0,0 +1,7 @@
+#include <media/hardware/CryptoAPI.h>
+
+#include "WVCryptoPlugin.h"
+
+android::CryptoFactory *createCryptoFactory() {
+ return new android::WVCryptoFactory;
+}