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

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

Change-Id: I7382cd13ac4cfc99f2b72b7185fa4af8152bedb9
This commit is contained in:
Treehugger Robot
2021-03-23 13:57:30 +00:00
committed by Automerger Merge Worker

View File

@@ -254,6 +254,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);
}