cas: fix missing error code conversion

bug: 22804304
Change-Id: Ia950e12f7feef3eeb16596c0939aaeb61bfdf5df
This commit is contained in:
Chong Zhang 2017-08-29 18:37:21 -07:00
parent 02537a6bcc
commit 065f08d09b

View file

@ -62,6 +62,9 @@ Status toStatus(status_t legacyStatus) {
case android::ERROR_CAS_DEVICE_REVOKED:
status = Status::ERROR_CAS_DEVICE_REVOKED;
break;
case android::ERROR_CAS_DECRYPT_UNIT_NOT_INITIALIZED:
status = Status::ERROR_CAS_DECRYPT_UNIT_NOT_INITIALIZED;
break;
case android::ERROR_CAS_DECRYPT:
status = Status::ERROR_CAS_DECRYPT;
break;