diff --git a/android.hardware.drm@1.2-service.clearkey.xml b/android.hardware.drm@1.2-service.clearkey.xml new file mode 100644 index 0000000..16cba11 --- /dev/null +++ b/android.hardware.drm@1.2-service.clearkey.xml @@ -0,0 +1,23 @@ + + + + + android.hardware.drm + hwbinder + @1.2::ICryptoFactory/clearkey + @1.2::IDrmFactory/clearkey + + diff --git a/manifest.xml b/manifest.xml index 4612f08..56d4188 100644 --- a/manifest.xml +++ b/manifest.xml @@ -26,21 +26,6 @@ default - - android.hardware.drm - hwbinder - 1.0 - - ICryptoFactory - default - - - IDrmFactory - default - - @1.2::ICryptoFactory/clearkey - @1.2::IDrmFactory/clearkey - android.hardware.gatekeeper hwbinder diff --git a/redroid.mk b/redroid.mk index 2cf6fc9..122fa19 100644 --- a/redroid.mk +++ b/redroid.mk @@ -92,9 +92,7 @@ PRODUCT_PACKAGES += \ android.hardware.audio@4.0-impl \ android.hardware.audio.effect@4.0-impl \ android.hardware.configstore@1.1-service \ - android.hardware.drm@1.0-service \ - android.hardware.drm@1.0-impl \ - android.hardware.drm@1.2-service.clearkey \ + android.hardware.drm@1.2-service-lazy.clearkey \ android.hardware.gatekeeper@1.0-service \ android.hardware.gatekeeper@1.0-impl \ android.hardware.graphics.allocator@2.0-service \ @@ -106,6 +104,9 @@ PRODUCT_PACKAGES += \ android.hardware.keymaster@3.0-service \ android.hardware.keymaster@3.0-impl \ + +DEVICE_MANIFEST_FILE += device/redroid/android.hardware.drm@1.2-service.clearkey.xml + USE_XML_AUDIO_POLICY_CONF := 1 PRODUCT_COPY_FILES += \