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:
@@ -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