Upgrade L3 to v16 and update Android.bp files
Merging CL: * http://go/wvgerrit/108203 * http://go/wvgerrit/103904 (changes to L3 source files excluded) Also added ODK dependency which is required by L3 v16. Do not replace constant sizeof() with a hard-coded value in L3 library because it is target-specific. Test: Unit tests on gLinux jenkins/linux_unit_tests jenkins/ce_cdm_tests Test: Unit tests on Pixel 4(flame-userdebug, rvc-qpr-dev) vendor/widevine/libwvdrmengine/build_and_run_all_unit_tests.sh Test: Manual ExoPlayer L1/L3 playback tests (flame-userdebug) WV: Secure HD/SD (cenc,MP4,H264) WV: Secure HD/SD (cbc1,MP4,H264) WV: Secure HD/SD (cbcs,MP4,H264) Test: Widevine GTS tests(bramble-userdebug, master) http://ab/I23800006571451275 Bug: 136317881 Bug: 139814713 Bug: 173331251 Change-Id: I1656e83a74a0eaf650f55f5e2388819bf5020c0d
This commit is contained in:
@@ -3527,7 +3527,7 @@ class OEMCryptoLoadsCertificateAlternates : public OEMCryptoLoadsCertificate {
|
||||
OEMCryptoResult sts = provisioning_messages.LoadResponse();
|
||||
encoded_rsa_key_ = provisioning_messages.encoded_rsa_key();
|
||||
wrapped_rsa_key_ = provisioning_messages.wrapped_rsa_key();
|
||||
key_loaded_ = (wrapped_rsa_key_.size() > 0);
|
||||
key_loaded_ = (sts == OEMCrypto_SUCCESS && wrapped_rsa_key_.size() > 0);
|
||||
if (force) {
|
||||
EXPECT_EQ(OEMCrypto_SUCCESS, sts);
|
||||
EXPECT_EQ(nullptr, find(wrapped_rsa_key_, encoded_rsa_key_));
|
||||
|
||||
Reference in New Issue
Block a user