Force manual setup if using client certificates

Presently, auto-setup doesn't support certificates,
resulting in "Cannot connect to server. (Error
while decoding store URI)".
This commit is contained in:
Joe Steele 2014-07-19 17:23:38 -04:00
parent 0224a89109
commit b10b13b865

View file

@ -303,6 +303,13 @@ public class AccountSetupBasics extends K9Activity
}
protected void onNext() {
if (mClientCertificateCheckBox.isChecked()) {
// Auto-setup doesn't support client certificates.
onManualSetup();
return;
}
String email = mEmailView.getText().toString();
String[] emailParts = splitEmail(email);
String domain = emailParts[1];