Correct an error reported when a license is restored and then released
[ Merge of http://go/wvgerrit/128143 ] Now reports LICENSE_STATE_ERROR rather than ERROR_DRM_GENERIC_PLUGIN to make the cause of failure and suggested action more clear for app developers. Also added an additional error log. Bug: 190645000 Test: WV unit/integration tests Change-Id: Ib23ca628c590316f90f497d8fdfbab24fd644d6f
This commit is contained in:
@@ -887,6 +887,9 @@ void PrintTo(const enum CdmResponseType& value, ::std::ostream* os) {
|
||||
case USAGE_ENTRY_NUMBER_MISMATCH:
|
||||
*os << "USAGE_ENTRY_NUMBER_MISMATCH";
|
||||
break;
|
||||
case USAGE_ENTRY_ALREADY_LOADED:
|
||||
*os << "USAGE_ENTRY_ALREADY_LOADED";
|
||||
break;
|
||||
case USAGE_GET_ENTRY_RETRIEVE_INVALID_STORAGE_TYPE:
|
||||
*os << "USAGE_GET_ENTRY_RETRIEVE_INVALID_STORAGE_TYPE";
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user