Address request license test failures [ DO NOT MERGE ]

am: b7c6f9b52c

Change-Id: Ica7bf215979ae75b5ebdec4ba881ac6cba13a9bd
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.