Merge "Workaround WVv9 netflix license issue on fugu" into lmp-dev
This commit is contained in:
@@ -288,7 +288,7 @@ bool CdmLicense::PrepareKeyRequest(const InitializationData& init_data,
|
|||||||
if (session_->UsageInformationSupport(&supports_usage_information)) {
|
if (session_->UsageInformationSupport(&supports_usage_information)) {
|
||||||
#if 1 // Temporary workaround for b/16994418
|
#if 1 // Temporary workaround for b/16994418
|
||||||
std::string value;
|
std::string value;
|
||||||
if (Properties::GetModelName(&value) && value == "ADT-1") {
|
if (Properties::GetModelName(&value) && (value == "ADT-1" || value == "fugu")) {
|
||||||
supports_usage_information = false;
|
supports_usage_information = false;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@@ -337,7 +337,7 @@ bool CdmLicense::PrepareKeyRequest(const InitializationData& init_data,
|
|||||||
#if 1 // Temporary workaround for b/16994418
|
#if 1 // Temporary workaround for b/16994418
|
||||||
std::string value;
|
std::string value;
|
||||||
bool set_api_version = true;
|
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;
|
set_api_version = false;
|
||||||
}
|
}
|
||||||
if (set_api_version) {
|
if (set_api_version) {
|
||||||
|
|||||||
Reference in New Issue
Block a user