WVDrmPlugin: map OEMCryptoResult to drm@1.4 Status am: 0450bfcda1

Original change: https://googleplex-android-review.googlesource.com/c/platform/vendor/widevine/+/13593533

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5b73be35ff7a7114fe35d2cbc3b55a26aee54b5f
This commit is contained in:
Robert Shih
2021-02-18 00:48:54 +00:00
committed by Automerger Merge Worker

View File

@@ -2129,7 +2129,7 @@ Status WVDrmPlugin::mapOEMCryptoResult(OEMCryptoResult res) {
FALLTHROUGH_INTENDED; /* FALLTHROUGH */
default:
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);
}
}