Merge "Sync Android CDM Version with OEMCrypto" into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
d24ff56def
@@ -19,7 +19,7 @@ const char kL2Dir[] = "/L2/";
|
|||||||
const char kL3Dir[] = "/L3/";
|
const char kL3Dir[] = "/L3/";
|
||||||
const char kFactoryKeyboxPath[] = "/factory/wv.keys";
|
const char kFactoryKeyboxPath[] = "/factory/wv.keys";
|
||||||
|
|
||||||
const char kWVCdmVersion[] = "v6.0.0-android";
|
const char kWVCdmVersion[] = "14.0.0";
|
||||||
|
|
||||||
bool GetAndroidProperty(const char* key, std::string* value) {
|
bool GetAndroidProperty(const char* key, std::string* value) {
|
||||||
char val[PROPERTY_VALUE_MAX];
|
char val[PROPERTY_VALUE_MAX];
|
||||||
|
|||||||
@@ -3806,7 +3806,7 @@ TEST(VersionNumberTest, VersionNumberChangeCanary) {
|
|||||||
|
|
||||||
std::string widevine_version;
|
std::string widevine_version;
|
||||||
ASSERT_TRUE(Properties::GetWVCdmVersion(&widevine_version));
|
ASSERT_TRUE(Properties::GetWVCdmVersion(&widevine_version));
|
||||||
EXPECT_EQ("v6.0.0-android", widevine_version)
|
EXPECT_EQ("14.0.0", widevine_version)
|
||||||
<< "The Widevine CDM version number has changed. Did you forget to "
|
<< "The Widevine CDM version number has changed. Did you forget to "
|
||||||
"update this test after changing it?";
|
"update this test after changing it?";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user