diff options
author | 2024-04-10 13:52:13 +0000 | |
---|---|---|
committer | 2024-04-10 13:52:20 +0000 | |
commit | db74218a23f70e3d37451a5032c3ccc9cfee2838 (patch) | |
tree | 0d9ad29616fc65690751e2a1670a234c8413129d /keystore | |
parent | 3820160a3f004bde63226bac4c2356aca42026d4 (diff) |
Remove android.security.KeyStore#getInstance()
This method no longer has any callers, so remove it.
(As with other methods in android.security.KeyStore, this did have
@UnsupportedAppUsage. However, there is no reason for apps to use this.
Therefore, removing it is allowed by the non-SDK interface policy.)
Bug: 326508120
Test: Build
Change-Id: I76facc1d54bf656188d1d4c5745224fc49836132
Diffstat (limited to 'keystore')
-rw-r--r-- | keystore/java/android/security/KeyStore.java | 9 |
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; - } } |