Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 065f08d0 authored by Chong Zhang's avatar Chong Zhang
Browse files

cas: fix missing error code conversion

bug: 22804304
Change-Id: Ia950e12f7feef3eeb16596c0939aaeb61bfdf5df
parent 02537a6b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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;