Merge "Keystore: Fix Device ID attestation test." am: c56709a2c4 am: 738d6b3be4

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1646359

Change-Id: I3088d4d48728e24d4e81250eaac77147da0bd19c
This commit is contained in:
Treehugger Robot
2021-03-22 23:16:56 +00:00
committed by Automerger Merge Worker

View File

@@ -287,6 +287,8 @@ public abstract class AttestationUtils {
keyStore.deleteEntry(keystoreAlias);
return certificateChain;
} catch (SecurityException e) {
throw e;
} catch (Exception e) {
throw new DeviceIdAttestationException("Unable to perform attestation", e);
}