am 2340efc9: VpnSettings: use USER_PRIVATE_KEY to list user certificates.

* commit '2340efc9a3fb4ae7b90cf9e7b3eab8c9ff7aeec8':
  VpnSettings: use USER_PRIVATE_KEY to list user certificates.
This commit is contained in:
Chia-chi Yeh
2011-12-27 13:45:38 -08:00
committed by Android Git Automerger

View File

@@ -113,7 +113,7 @@ class VpnDialog extends AlertDialog implements TextWatcher,
mL2tpSecret.setText(mProfile.l2tpSecret);
mIpsecIdentifier.setText(mProfile.ipsecIdentifier);
mIpsecSecret.setText(mProfile.ipsecSecret);
loadCertificates(mIpsecUserCert, Credentials.USER_CERTIFICATE,
loadCertificates(mIpsecUserCert, Credentials.USER_PRIVATE_KEY,
0, mProfile.ipsecUserCert);
loadCertificates(mIpsecCaCert, Credentials.CA_CERTIFICATE,
R.string.vpn_no_ca_cert, mProfile.ipsecCaCert);