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

Commit 4883a261 authored by David Drysdale's avatar David Drysdale Committed by Android (Google) Code Review
Browse files

Merge "Add missing Keystore error metadata" into main

parents 48d287f4 a1477048
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -690,5 +690,10 @@ public class KeyStoreException extends Exception {
                        ERROR_ATTESTATION_KEYS_UNAVAILABLE));
        sErrorCodeToFailureInfo.put(ResponseCode.OUT_OF_KEYS_PERMANENT_ERROR,
                new PublicErrorInformation(IS_SYSTEM_ERROR, ERROR_ATTESTATION_KEYS_UNAVAILABLE));
        sErrorCodeToFailureInfo.put(ResponseCode.GET_ATTESTATION_APPLICATION_ID_FAILED,
                new PublicErrorInformation(
                        IS_SYSTEM_ERROR | IS_TRANSIENT_ERROR, ERROR_INTERNAL_SYSTEM_ERROR));
        sErrorCodeToFailureInfo.put(ResponseCode.INFO_NOT_AVAILABLE,
                new PublicErrorInformation(IS_SYSTEM_ERROR, ERROR_INTERNAL_SYSTEM_ERROR));
    }
}