Workaround WVv9 netflix license issue on fugu

Change-Id: Ib4335d1dd0fea88b23c1b7ce675ae3863b86bc42
related-to-bug: 16994418
This commit is contained in:
Jeff Tinker
2014-08-28 15:28:42 -07:00
parent b445a1fef2
commit 14460bd66e

View File

@@ -288,7 +288,7 @@ bool CdmLicense::PrepareKeyRequest(const InitializationData& init_data,
if (session_->UsageInformationSupport(&supports_usage_information)) {
#if 1 // Temporary workaround for b/16994418
std::string value;
if (Properties::GetModelName(&value) && value == "ADT-1") {
if (Properties::GetModelName(&value) && (value == "ADT-1" || value == "fugu")) {
supports_usage_information = false;
}
#endif
@@ -337,7 +337,7 @@ bool CdmLicense::PrepareKeyRequest(const InitializationData& init_data,
#if 1 // Temporary workaround for b/16994418
std::string value;
bool set_api_version = true;
if (Properties::GetModelName(&value) && value == "ADT-1") {
if (Properties::GetModelName(&value) && (value == "ADT-1" || value == "fugu")) {
set_api_version = false;
}
if (set_api_version) {