Skip to content

Commit

Permalink
Merge "Rename Widevine HIDL service to v1.1." into pi-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Edwin Wong authored and Android (Google) Code Review committed Mar 31, 2018
2 parents 7d95704 + e389464 commit 436d59a
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CleanSpec.mk
Original file line number Diff line number Diff line change
Expand Up @@ -176,3 +176,10 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib64/hw/*)
# Remove android.hardware.audio*@2.0 implementation
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib/hw/android.hardware.audio*@2.0-impl.so)

# Remove Clearkey HAL 1.0
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/etc/init/[email protected])
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/bin/hw/[email protected])

# Remove Widevine HAL 1.0
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/etc/init/[email protected])
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/bin/hw/[email protected])
2 changes: 1 addition & 1 deletion device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
PRODUCT_PACKAGES += \
[email protected]:32 \
[email protected] \
android.hardware.drm@1.0-service.widevine \
android.hardware.drm@1.1-service.widevine \
[email protected] \
move_widevine_data.sh

Expand Down
4 changes: 2 additions & 2 deletions manifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,15 @@
<interface>
<name>ICryptoFactory</name>
<instance>default</instance>
<instance>widevine</instance>
</interface>
<interface>
<name>IDrmFactory</name>
<instance>default</instance>
<instance>widevine</instance>
</interface>
<fqname>@1.1::ICryptoFactory/clearkey</fqname>
<fqname>@1.1::IDrmFactory/clearkey</fqname>
<fqname>@1.1::ICryptoFactory/widevine</fqname>
<fqname>@1.1::IDrmFactory/widevine</fqname>
</hal>
<hal format="hidl">
<name>android.hardware.dumpstate</name>
Expand Down
2 changes: 1 addition & 1 deletion sepolicy/vendor/file_contexts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
/vendor/bin/init\.radio\.sh u:object_r:init_radio_exec:s0

/vendor/bin/hw/android\.hardware\.bluetooth@1\.0-service-qti u:object_r:hal_bluetooth_default_exec:s0
/vendor/bin/hw/android\.hardware\.drm@1\.0-service\.widevine u:object_r:hal_drm_widevine_exec:s0
/vendor/bin/hw/android\.hardware\.drm@1\.1-service\.widevine u:object_r:hal_drm_widevine_exec:s0
/vendor/bin/hw/android\.hardware\.drm@1\.1-service\.clearkey u:object_r:hal_drm_clearkey_exec:s0
/vendor/bin/hw/android\.hardware\.vibrator@1\.2-service\.wahoo u:object_r:hal_vibrator_default_exec:s0
/vendor/bin/hw/android\.hardware\.health@2\.0-service\.wahoo u:object_r:hal_health_default_exec:s0
Expand Down
2 changes: 1 addition & 1 deletion sepolicy/vendor/hal_drm_widevine.te
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# policy for /vendor/bin/hw/android.hardware.drm@1.0-service.widevine
# policy for /vendor/bin/hw/android.hardware.drm@1.1-service.widevine
type hal_drm_widevine, domain;
type hal_drm_widevine_exec, exec_type, vendor_file_type, file_type;

Expand Down

0 comments on commit 436d59a

Please sign in to comment.