Rename AndroidKeyStore in tests to match impl
The KeyPairGenerator was renamed in frameworks/base, but it is tested
during CTS so the StandardNames in libcore needs to be updated to know
about this change as well so tests that use StandardNames don't have
erroneous returns.
Bug: 8626181
Change-Id: I079eb650d2dbe7baa204ff8d110a5389132e32a4
diff --git a/support/src/test/java/libcore/java/security/StandardNames.java b/support/src/test/java/libcore/java/security/StandardNames.java
index 8d54b3e..37e87ba 100644
--- a/support/src/test/java/libcore/java/security/StandardNames.java
+++ b/support/src/test/java/libcore/java/security/StandardNames.java
@@ -489,7 +489,7 @@
// Android's KeyStore provider
if (Security.getProvider("AndroidKeyStoreProvider") != null) {
provide("KeyStore", "AndroidKeyStore");
- provide("KeyPairGenerator", "AndroidKeyPairGenerator");
+ provide("KeyPairGenerator", "AndroidKeyStore");
}
}
}