Update Widevine Android Version Number to 5.1.0 am: ce9c5f35ac
am: 55af4ec7bb
Change-Id: Ia6d6567b5db38f77f74641eeb26996c78a353676
This commit is contained in:
@@ -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[] = "v5.0.0-android";
|
const char kWVCdmVersion[] = "v5.1.0-android";
|
||||||
|
|
||||||
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];
|
||||||
|
|||||||
@@ -3726,14 +3726,14 @@ TEST(VersionNumberTest, VersionNumberChangeCanary) {
|
|||||||
char release_number[PROPERTY_VALUE_MAX];
|
char release_number[PROPERTY_VALUE_MAX];
|
||||||
ASSERT_GT(property_get("ro.build.version.release", release_number, "Unknown"),
|
ASSERT_GT(property_get("ro.build.version.release", release_number, "Unknown"),
|
||||||
0);
|
0);
|
||||||
EXPECT_STREQ("8.0.0", release_number)
|
EXPECT_STREQ("OMR1", release_number)
|
||||||
<< "The Android version number has changed. You need to update this test "
|
<< "The Android version number has changed. You need to update this test "
|
||||||
"and also possibly update the Widevine version number in "
|
"and also possibly update the Widevine version number in "
|
||||||
"properties_android.cpp.";
|
"properties_android.cpp.";
|
||||||
|
|
||||||
std::string widevine_version;
|
std::string widevine_version;
|
||||||
ASSERT_TRUE(Properties::GetWVCdmVersion(&widevine_version));
|
ASSERT_TRUE(Properties::GetWVCdmVersion(&widevine_version));
|
||||||
EXPECT_EQ("v5.0.0-android", widevine_version)
|
EXPECT_EQ("v5.1.0-android", 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