flo: Uprev clearkey DRM HIDL to 1.4

This commit is contained in:
followmsi 2021-11-22 16:35:18 +01:00
parent 41a7f02213
commit 65642af2ce
3 changed files with 14 additions and 2 deletions

View File

@ -87,7 +87,7 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
android.hardware.drm@1.0-impl \
android.hardware.drm@1.0-service-lazy \
android.hardware.drm@1.3-service-lazy.clearkey
android.hardware.drm@1.4-service-lazy.clearkey
PRODUCT_COPY_FILES += \
prebuilts/vndk/v29/arm/arch-arm-armv7-a-neon/shared/vndk-core/libprotobuf-cpp-lite.so:$(TARGET_COPY_OUT_VENDOR)/lib/libprotobuf-cpp-lite-v29.so

View File

@ -89,7 +89,7 @@
/(vendor|system/vendor)/bin/hw/android\.hardware\.gatekeeper@1\.0-service\.software u:object_r:hal_gatekeeper_default_exec:s0
#/(vendor|system/vendor)/bin/hw/android\.hardware\.drm@1\.3-service\.clearkey u:object_r:hal_drm_clearkey_exec:s0
#/(vendor|system/vendor)/bin/hw/android\.hardware\.drm@1\.4-service\.clearkey u:object_r:hal_drm_clearkey_exec:s0
# Persist firmware filesystem
/persist/camera_calibration(/.*)? u:object_r:persist_camera_file:s0

View File

@ -0,0 +1,12 @@
# policy for /vendor/bin/hw/android.hardware.drm@1.4-service.clearkey
type hal_drm_clearkey, domain;
type hal_drm_clearkey_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_drm_clearkey)
hal_server_domain(hal_drm_clearkey, hal_drm)
vndbinder_use(hal_drm_clearkey);
allow hal_drm_clearkey { appdomain -isolated_app }:fd use;