From 5beac28a34e557251bd4bbd77a6d9303a69d4319 Mon Sep 17 00:00:00 2001 From: Jeff Tinker Date: Fri, 22 Mar 2013 15:26:39 -0700 Subject: Load crypto plugins from additional shared libraries Currently crypto plugins are expected to be in libdrmdecrypt.so. When there are multiple plugins supporting different schemes, this approach requires source code integration across vendors which is unmanagable. Also, for integration with MediaDrm where the crypto keys are obtained from a drm server, the MediaCrypto plugin needs to interoperate with the MediaDrm plugin. This change allows {MediaCrypto, MediaDrm} pairs that are logically related to be implemented in a common shared library. Change-Id: I7f6638f29171f91609fc2d944396365568630b56 --- include/media/ICrypto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/media/ICrypto.h b/include/media/ICrypto.h index 61059bd..9dcb8d9 100644 --- a/include/media/ICrypto.h +++ b/include/media/ICrypto.h @@ -31,7 +31,7 @@ struct ICrypto : public IInterface { virtual status_t initCheck() const = 0; - virtual bool isCryptoSchemeSupported(const uint8_t uuid[16]) const = 0; + virtual bool isCryptoSchemeSupported(const uint8_t uuid[16]) = 0; virtual status_t createPlugin( const uint8_t uuid[16], const void *data, size_t size) = 0; -- cgit v1.1