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: I9d37e77799ea2075df1dc4811304921c587e8974
This commit is contained in:
Robert Shih
2021-02-18 00:47:48 +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);
}
}