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
This commit is contained in:
Edwin Wong
2018-02-22 17:45:33 -08:00
parent 77e4c3efe1
commit 807b727fd9

View File

@@ -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 += \