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: I487d6d0b7048a7b663ce1c29fa5d3ea3cd4f3fbb
diff --git a/device-common.mk b/device-common.mk
index 8e9a41b..afc82d1 100644
--- a/device-common.mk
+++ b/device-common.mk
@@ -154,6 +154,10 @@
PRODUCT_PACKAGES += \
android.hardware.usb@1.1-service.marlin
+# DRM HAL
+PRODUCT_PACKAGES += \
+ move_widevine_data.sh
+
# Audio effects
PRODUCT_PACKAGES += \
libqcomvisualizer \