diff options
Diffstat (limited to 'tests/tests/keystore/src/android/keystore/cts/KeyAttestationTest.java')
-rw-r--r-- | tests/tests/keystore/src/android/keystore/cts/KeyAttestationTest.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/tests/keystore/src/android/keystore/cts/KeyAttestationTest.java b/tests/tests/keystore/src/android/keystore/cts/KeyAttestationTest.java index b0d8026287f..553d99707f9 100644 --- a/tests/tests/keystore/src/android/keystore/cts/KeyAttestationTest.java +++ b/tests/tests/keystore/src/android/keystore/cts/KeyAttestationTest.java @@ -515,6 +515,7 @@ public class KeyAttestationTest { public void testEcAttestation_UniqueIdWorksWithCorrectPermission() throws Exception { assumeTrue("Device doesn't have secure lock screen", TestUtils.hasSecureLockScreen(getContext())); + assumeTrue("Device does not support attestation", TestUtils.isAttestationSupported()); String keystoreAlias = "test_key"; KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(keystoreAlias, PURPOSE_SIGN) |