diff --git a/msm8953-common/msm8953-common-vendor.mk b/msm8953-common/msm8953-common-vendor.mk index 075d45fe..00d12114 100644 --- a/msm8953-common/msm8953-common-vendor.mk +++ b/msm8953-common/msm8953-common-vendor.mk @@ -86,7 +86,7 @@ PRODUCT_COPY_FILES += \ vendor/xiaomi/msm8953-common/proprietary/vendor/bin/energy-awareness:$(TARGET_COPY_OUT_VENDOR)/bin/energy-awareness \ vendor/xiaomi/msm8953-common/proprietary/vendor/bin/hvdcp_opti:$(TARGET_COPY_OUT_VENDOR)/bin/hvdcp_opti \ vendor/xiaomi/msm8953-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/msm8953-common/proprietary/vendor/bin/hw/android.hardware.drm@1.0-service.widevine:$(TARGET_COPY_OUT_VENDOR)/bin/hw/android.hardware.drm@1.0-service.widevine \ + vendor/xiaomi/msm8953-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/msm8953-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/msm8953-common/proprietary/vendor/bin/hw/vendor.qti.gnss@1.0-service:$(TARGET_COPY_OUT_VENDOR)/bin/hw/vendor.qti.gnss@1.0-service \ vendor/xiaomi/msm8953-common/proprietary/vendor/bin/hw/vendor.qti.hardware.perf@1.0-service:$(TARGET_COPY_OUT_VENDOR)/bin/hw/vendor.qti.hardware.perf@1.0-service \ @@ -139,7 +139,7 @@ PRODUCT_COPY_FILES += \ vendor/xiaomi/msm8953-common/proprietary/vendor/etc/data/dsi_config.xml:$(TARGET_COPY_OUT_VENDOR)/etc/data/dsi_config.xml \ vendor/xiaomi/msm8953-common/proprietary/vendor/etc/data/netmgr_config.xml:$(TARGET_COPY_OUT_VENDOR)/etc/data/netmgr_config.xml \ vendor/xiaomi/msm8953-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/msm8953-common/proprietary/vendor/etc/init/android.hardware.drm@1.0-service.widevine.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.drm@1.0-service.widevine.rc \ + vendor/xiaomi/msm8953-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/msm8953-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 \ vendor/xiaomi/msm8953-common/proprietary/vendor/etc/init/vendor.qti.gnss@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.gnss@1.0-service.rc \ vendor/xiaomi/msm8953-common/proprietary/vendor/etc/init/vendor.qti.hardware.perf@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.hardware.perf@1.0-service.rc \ diff --git a/msm8953-common/proprietary/vendor/bin/hw/android.hardware.drm@1.0-service.widevine b/msm8953-common/proprietary/vendor/bin/hw/android.hardware.drm@1.0-service.widevine deleted file mode 100644 index 5d4fc06a..00000000 Binary files a/msm8953-common/proprietary/vendor/bin/hw/android.hardware.drm@1.0-service.widevine and /dev/null differ diff --git a/msm8953-common/proprietary/vendor/bin/hw/android.hardware.drm@1.1-service.widevine b/msm8953-common/proprietary/vendor/bin/hw/android.hardware.drm@1.1-service.widevine new file mode 100644 index 00000000..44ac2ca1 Binary files /dev/null and b/msm8953-common/proprietary/vendor/bin/hw/android.hardware.drm@1.1-service.widevine differ diff --git a/msm8953-common/proprietary/vendor/etc/init/android.hardware.drm@1.0-service.widevine.rc b/msm8953-common/proprietary/vendor/etc/init/android.hardware.drm@1.0-service.widevine.rc deleted file mode 100644 index 12c3a980..00000000 --- a/msm8953-common/proprietary/vendor/etc/init/android.hardware.drm@1.0-service.widevine.rc +++ /dev/null @@ -1,6 +0,0 @@ -service drm-widevine-hal-1-0 /vendor/bin/hw/android.hardware.drm@1.0-service.widevine - class hal - user media - group mediadrm drmrpc - ioprio rt 4 - writepid /dev/cpuset/foreground/tasks diff --git a/msm8953-common/proprietary/vendor/etc/init/android.hardware.drm@1.1-service.widevine.rc b/msm8953-common/proprietary/vendor/etc/init/android.hardware.drm@1.1-service.widevine.rc new file mode 100644 index 00000000..fbbc1805 --- /dev/null +++ b/msm8953-common/proprietary/vendor/etc/init/android.hardware.drm@1.1-service.widevine.rc @@ -0,0 +1,15 @@ +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 + ioprio rt 4 + writepid /dev/cpuset/foreground/tasks diff --git a/msm8953-common/proprietary/vendor/lib/libwvhidl.so b/msm8953-common/proprietary/vendor/lib/libwvhidl.so index 6764f9b4..e6cbb70a 100644 Binary files a/msm8953-common/proprietary/vendor/lib/libwvhidl.so and b/msm8953-common/proprietary/vendor/lib/libwvhidl.so differ