Address request license test failures [ DO NOT MERGE ]

am: b7c6f9b52c

Change-Id: Id3616ea5bae789c2cdb2135cfdb92495c69536e0
This commit is contained in:
Rahul Frias
2019-06-01 17:56:55 -07:00
committed by android-build-merger
2 changed files with 8 additions and 32 deletions

View File

@@ -243,11 +243,14 @@ CdmResponseType CdmSession::RestoreOfflineSession(
: GET_LICENSE_ERROR;
}
// TODO(rfrias, juce) b/133684744: Comment out this functionality to address
// android test failures. These changes were introduced to address
// b/113167010 (3c23a071e)
// Attempts to restore a released offline license are treated as a release
// retry.
if (license_state == DeviceFiles::kLicenseStateReleasing) {
license_type = kLicenseTypeRelease;
}
//if (license_state == DeviceFiles::kLicenseStateReleasing) {
// license_type = kLicenseTypeRelease;
//}
// Only restore offline licenses if they are active or this is a release
// retry.