diff --git a/proprietary/vendor/bin/hw/android.hardware.drm@1.1-service.widevine b/proprietary/vendor/bin/hw/android.hardware.drm@1.1-service.widevine deleted file mode 100644 index c4e8913..0000000 Binary files a/proprietary/vendor/bin/hw/android.hardware.drm@1.1-service.widevine and /dev/null differ diff --git a/proprietary/vendor/bin/hw/android.hardware.drm@1.2-service.widevine b/proprietary/vendor/bin/hw/android.hardware.drm@1.2-service.widevine new file mode 100644 index 0000000..600901b Binary files /dev/null and b/proprietary/vendor/bin/hw/android.hardware.drm@1.2-service.widevine differ diff --git a/proprietary/vendor/etc/init/android.hardware.drm@1.1-service.widevine.rc b/proprietary/vendor/etc/init/android.hardware.drm@1.1-service.widevine.rc deleted file mode 100644 index d4c1ad8..0000000 --- a/proprietary/vendor/etc/init/android.hardware.drm@1.1-service.widevine.rc +++ /dev/null @@ -1,17 +0,0 @@ -on property:init.svc.mediadrm=running - mkdir /data/vendor/mediadrm 0770 media mediadrm - start vendor.move_data_sh - -service vendor.move_data_sh /system/bin/move_widevine_data.sh - class late_start - user media - group media mediadrm system - disabled - oneshot - -service vendor.drm-widevine-hal-1-1 /vendor/bin/hw/android.hardware.drm@1.1-service.widevine - class hal - user media - group media mediadrm drmrpc system - ioprio rt 4 - writepid /dev/cpuset/foreground/tasks diff --git a/proprietary/vendor/etc/init/android.hardware.drm@1.2-service.widevine.rc b/proprietary/vendor/etc/init/android.hardware.drm@1.2-service.widevine.rc new file mode 100644 index 0000000..b33686c --- /dev/null +++ b/proprietary/vendor/etc/init/android.hardware.drm@1.2-service.widevine.rc @@ -0,0 +1,24 @@ +on property:init.svc.mediadrm=running + mkdir /data/vendor/mediadrm 0770 media mediadrm + start vendor.move_data_sh + +service vendor.move_data_sh /system/bin/move_widevine_data.sh + class late_start + user media + group media mediadrm system + disabled + oneshot + +service vendor.drm-widevine-hal-1-2 /vendor/bin/hw/android.hardware.drm@1.2-service.widevine + interface android.hardware.drm@1.0::ICryptoFactory widevine + interface android.hardware.drm@1.0::IDrmFactory widevine + interface android.hardware.drm@1.1::ICryptoFactory widevine + interface android.hardware.drm@1.1::IDrmFactory widevine + interface android.hardware.drm@1.2::ICryptoFactory widevine + interface android.hardware.drm@1.2::IDrmFactory widevine + interface android.hidl.base@1.0::IBase widevine + class hal + user media + group media mediadrm drmrpc + ioprio rt 4 + writepid /dev/cpuset/foreground/tasks diff --git a/proprietary/vendor/lib64/libwvhidl.so b/proprietary/vendor/lib64/libwvhidl.so index 1c71f3e..a3d657e 100644 Binary files a/proprietary/vendor/lib64/libwvhidl.so and b/proprietary/vendor/lib64/libwvhidl.so differ diff --git a/sdm660-common-vendor.mk b/sdm660-common-vendor.mk index 646b6db..933b459 100644 --- a/sdm660-common-vendor.mk +++ b/sdm660-common-vendor.mk @@ -133,7 +133,7 @@ PRODUCT_COPY_FILES += \ vendor/xiaomi/sdm660-common/proprietary/vendor/bin/hci_qcomm_init:$(TARGET_COPY_OUT_VENDOR)/bin/hci_qcomm_init \ vendor/xiaomi/sdm660-common/proprietary/vendor/bin/hvdcp_opti:$(TARGET_COPY_OUT_VENDOR)/bin/hvdcp_opti \ vendor/xiaomi/sdm660-common/proprietary/vendor/bin/hw/android.hardware.bluetooth@1.0-service-qti:$(TARGET_COPY_OUT_VENDOR)/bin/hw/android.hardware.bluetooth@1.0-service-qti \ - vendor/xiaomi/sdm660-common/proprietary/vendor/bin/hw/android.hardware.drm@1.1-service.widevine:$(TARGET_COPY_OUT_VENDOR)/bin/hw/android.hardware.drm@1.1-service.widevine \ + vendor/xiaomi/sdm660-common/proprietary/vendor/bin/hw/android.hardware.drm@1.2-service.widevine:$(TARGET_COPY_OUT_VENDOR)/bin/hw/android.hardware.drm@1.2-service.widevine \ vendor/xiaomi/sdm660-common/proprietary/vendor/bin/hw/qcrild:$(TARGET_COPY_OUT_VENDOR)/bin/hw/qcrild \ vendor/xiaomi/sdm660-common/proprietary/vendor/bin/hw/vendor.display.color@1.0-service:$(TARGET_COPY_OUT_VENDOR)/bin/hw/vendor.display.color@1.0-service \ vendor/xiaomi/sdm660-common/proprietary/vendor/bin/hw/vendor.qti.esepowermanager@1.0-service:$(TARGET_COPY_OUT_VENDOR)/bin/hw/vendor.qti.esepowermanager@1.0-service \ @@ -205,7 +205,7 @@ PRODUCT_COPY_FILES += \ vendor/xiaomi/sdm660-common/proprietary/vendor/etc/data/netmgr_config.xml:$(TARGET_COPY_OUT_VENDOR)/etc/data/netmgr_config.xml \ vendor/xiaomi/sdm660-common/proprietary/vendor/etc/diracmobile.config:$(TARGET_COPY_OUT_VENDOR)/etc/diracmobile.config \ vendor/xiaomi/sdm660-common/proprietary/vendor/etc/init/android.hardware.bluetooth@1.0-service-qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.bluetooth@1.0-service-qti.rc \ - vendor/xiaomi/sdm660-common/proprietary/vendor/etc/init/android.hardware.drm@1.1-service.widevine.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.drm@1.1-service.widevine.rc \ + vendor/xiaomi/sdm660-common/proprietary/vendor/etc/init/android.hardware.drm@1.2-service.widevine.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.drm@1.2-service.widevine.rc \ vendor/xiaomi/sdm660-common/proprietary/vendor/etc/init/com.qualcomm.qti.wifidisplayhal@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/com.qualcomm.qti.wifidisplayhal@1.0-service.rc \ vendor/xiaomi/sdm660-common/proprietary/vendor/etc/init/qcrild.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/qcrild.rc \ vendor/xiaomi/sdm660-common/proprietary/vendor/etc/init/vendor.display.color@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.display.color@1.0-service.rc \