0fa3ae72be3674645258c01caaf1d0e4dcac08f0
Merged from http://go/wvgerrit/44312 The move script is only needed for existing devices that are running Widevine DRM and are upgrading to Pi or later Android releases. New devices release with Pi and future Android releases do not need to run this script. To run this script, vendor must add the dependency to the corresponding device makefile and build from ANDROID_ROOT. For example: PRODUCT_PACKAGES += \ android.hardware.drm@1.0-impl \ android.hardware.drm@1.0-service \ android.hardware.drm@1.0-service.widevine \ move_widevine_data.sh In addition, vendor needs to update device SELinux policy. 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: I7ad0dfcc0e490f4c018b6a17df6313fade89937f
Description
No description provided