测试平台:高通8926
系统版本:android M
GMS版本:6.0_r5
GTS版本:3.0_r5
com.google.android.xts.media.MediaDrmTest:
1) 从google或者GMS认证代理那里获取widevine源码资源,并放在platform/vendor/widevine目录下。
2) 在android\device\qcom\<target>\BoardConfig.mk中设置widevine 等级(在6.0版本后无需设置)
BOARD_WIDEVINE_OEMCRYPTO_LEVEL := 3 or 1
如果仅需要支持widevine dash 3级,只需要将liboemcrypto.so移除。移除的方法:在device-vendor.mk中删除SECUREMSM += liboemcrypto并重新编译。
3) 修改device/qcom/<target>/<targe