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:
Alex Klyubin
2015-06-08 09:30:08 -07:00
parent 0053802f23
commit 3848407d0c
3 changed files with 3 additions and 3 deletions

View File

@@ -908,7 +908,7 @@ public class WifiConfigController implements TextWatcher,
private void loadCertificates(Spinner spinner, String prefix) {
final Context context = mConfigUi.getContext();
String[] certs = KeyStore.getInstance().saw(prefix, android.os.Process.WIFI_UID);
String[] certs = KeyStore.getInstance().list(prefix, android.os.Process.WIFI_UID);
if (certs == null || certs.length == 0) {
certs = new String[] {unspecifiedCert};
} else {