WVDrmPlugin: map OEMCryptoResult to drm@1.4 Status
Bug: 162255728 Change-Id: Ieb7de4e3d40e132ab17d5907132879714ef7e918 Test: MediaDrmTest#testExceptionMessage
This commit is contained in:
@@ -2129,7 +2129,7 @@ Status WVDrmPlugin::mapOEMCryptoResult(OEMCryptoResult res) {
|
|||||||
FALLTHROUGH_INTENDED; /* FALLTHROUGH */
|
FALLTHROUGH_INTENDED; /* FALLTHROUGH */
|
||||||
default:
|
default:
|
||||||
ALOGW("Returns UNKNOWN error for legacy status: %d", res);
|
ALOGW("Returns UNKNOWN error for legacy status: %d", res);
|
||||||
return Status::ERROR_DRM_UNKNOWN;
|
return static_cast<Status>(::drm::V1_4::Status::GENERAL_OEM_ERROR);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user