summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2023-01-17 17:03:41 +0530
committerAmit Pundir <amit.pundir@linaro.org>2023-01-23 22:33:59 +0530
commitf26a61b20383b32a1fc8e9cb35a49f4b01b0144b (patch)
treef3d76d18a71f314a40de5056c28d2822f9cf3fc7
parente495815d940edee10196d56cb55930c4b7c7eca5 (diff)
device manifest: Move DRM HAL to AIDL
It also fix the following warning messages logged in the dmesg and logcat regarding the missing service android.hardware.drm@1.0::IDrmFactory/default: E init : Control message: Could not find \ 'android.hardware.drm@1.0::IDrmFactory/default' \ for ctl.interface_start from pid: 269 (/system/bin/hwservicemanager) W HidlServiceManagement: Waited one second for \ android.hardware.drm@1.0::IDrmFactory/default I hwservicemanager: Since android.hardware.drm@1.0::IDrmFactory/default \ is not registered, trying to start it as a lazy HAL \ (if it's not configured to be a lazy HAL, \ it may be stuck starting or still starting). I HidlServiceManagement: getService: Trying again for \ android.hardware.drm@1.0::IDrmFactory/default... libc : Unable to set property "ctl.interface_start" to \ "android.hardware.drm@1.0::IDrmFactory/default": error code: 0x20 I hwservicemanager: Tried to start android.hardware.drm@1.0::IDrmFactory/default \ as a lazy service, but was unable to. Usually this happens \ when a service is not installed, but if the service is intended \ to be used as a lazy service, then it may be configured incorrectly. Change-Id: I14be5b66c6bb42f1bff87341d7ad0e1d61193110 Suggested-by: Dmitry Shmidt <dimitrysh@google.com> Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r--full.mk6
-rw-r--r--manifest.xml13
2 files changed, 3 insertions, 16 deletions
diff --git a/full.mk b/full.mk
index f2955ec..e2fd3ee 100644
--- a/full.mk
+++ b/full.mk
@@ -36,10 +36,10 @@ PRODUCT_PRODUCT_PROPERTIES := \
persist.adb.nonblocking_ffs=0 \
ro.adb.nonblocking_ffs=0
-# Display
+# DRM HAL
PRODUCT_PACKAGES += \
- android.hardware.drm@1.3-service.clearkey \
- android.hardware.drm@1.3-service.widevine
+ android.hardware.drm-service.clearkey \
+ android.hardware.drm-service.widevine
# Mesa
PRODUCT_PACKAGES += \
diff --git a/manifest.xml b/manifest.xml
index 99c8500..d0a07a3 100644
--- a/manifest.xml
+++ b/manifest.xml
@@ -46,19 +46,6 @@
</interface>
</hal>
<hal format="hidl">
- <name>android.hardware.drm</name>
- <transport>hwbinder</transport>
- <version>1.3</version>
- <interface>
- <name>ICryptoFactory</name>
- <instance>default</instance>
- </interface>
- <interface>
- <name>IDrmFactory</name>
- <instance>default</instance>
- </interface>
- </hal>
- <hal format="hidl">
<name>android.hardware.graphics.composer</name>
<transport>hwbinder</transport>
<version>2.3</version>