Switch from KeyStore.saw to KeyStore.list.
KeyStore.saw was renamed to KeyStore.list for clarity. The implementation of both methods is exactly the same. Bug: 18088752 Change-Id: I2f171a4b7479683d5af898ebdf1b6f8a741536d1
This commit is contained in:
@@ -318,7 +318,7 @@ class ConfigDialog extends AlertDialog implements TextWatcher,
|
||||
private void loadCertificates(Spinner spinner, String prefix, int firstId, String selected) {
|
||||
Context context = getContext();
|
||||
String first = (firstId == 0) ? "" : context.getString(firstId);
|
||||
String[] certificates = mKeyStore.saw(prefix);
|
||||
String[] certificates = mKeyStore.list(prefix);
|
||||
|
||||
if (certificates == null || certificates.length == 0) {
|
||||
certificates = new String[] {first};
|
||||
|
Reference in New Issue
Block a user