From 807b727fd90d43caccf03c7f9476a506acb19768 Mon Sep 17 00:00:00 2001 From: Edwin Wong Date: Thu, 22 Feb 2018 17:45:33 -0800 Subject: [PATCH] Put move_widevine_data.sh in /system/bin. Add dependency to install move_widevine_data.sh to /system/bin. The script is only needed for existing devices that are running Widevine DRM and are upgrading to Pi or later Android releases. Test: Upgrade from O-MR1 to Pi, Netflix & Play Movies can play back offline content downloaded in O-MR1 Test: adb shell to verify script is in /system/bin Test: adb shell to verify widevine data is moved to /data/vendor/mediadrm Test: use audit2allow to verify no avc:denied for widevine drm service bug: 73656300 Change-Id: Ie42a8229c4d20f71725ba7e8f5c2b267976ed294 --- device.mk | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/device.mk b/device.mk index aeca98a6..c00ac4e6 100755 --- a/device.mk +++ b/device.mk @@ -310,10 +310,11 @@ PRODUCT_PACKAGES += \ # DRM HAL PRODUCT_PACKAGES += \ - android.hardware.drm@1.0-impl \ - android.hardware.drm@1.0-service \ - android.hardware.drm@1.0-service.widevine \ - android.hardware.drm@1.1-service.clearkey + android.hardware.drm@1.0-impl \ + android.hardware.drm@1.0-service \ + android.hardware.drm@1.0-service.widevine \ + android.hardware.drm@1.1-service.clearkey \ + move_widevine_data.sh # NeuralNetworks HAL PRODUCT_PACKAGES += \