summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Eric Biggers <ebiggers@google.com> 2024-04-12 13:52:27 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-04-12 13:52:27 +0000
commit92e7cc4cdb299b515fcde9640ed7ba928475a750 (patch)
tree1e9fb190ab6117fe31cb0a8566588604a286aac6
parent1fc9f2216db7d5544c07fe090dbcbc0fbd706961 (diff)
parentdb74218a23f70e3d37451a5032c3ccc9cfee2838 (diff)
Merge "Remove android.security.KeyStore#getInstance()" into main
-rw-r--r--keystore/java/android/security/KeyStore.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/keystore/java/android/security/KeyStore.java b/keystore/java/android/security/KeyStore.java
index 2f2215fd51a2..d1d7c145680f 100644
--- a/keystore/java/android/security/KeyStore.java
+++ b/keystore/java/android/security/KeyStore.java
@@ -16,8 +16,6 @@
package android.security;
-import android.compat.annotation.UnsupportedAppUsage;
-
/**
* This class provides some constants and helper methods related to Android's Keystore service.
* This class was originally much larger, but its functionality was superseded by other classes.
@@ -30,11 +28,4 @@ public class KeyStore {
// Used for UID field to indicate the calling UID.
public static final int UID_SELF = -1;
-
- private static final KeyStore KEY_STORE = new KeyStore();
-
- @UnsupportedAppUsage
- public static KeyStore getInstance() {
- return KEY_STORE;
- }
}