|
|
|
@ -372,6 +372,12 @@ public class FragmentIdentity extends FragmentBase {
|
|
|
|
|
etPort.setText(position == 0 ? null : Integer.toString(provider.smtp.port));
|
|
|
|
|
rgEncryption.check(provider.smtp.starttls ? R.id.radio_starttls : R.id.radio_ssl);
|
|
|
|
|
cbUseIp.setChecked(provider.useip);
|
|
|
|
|
|
|
|
|
|
EntityAccount account = (EntityAccount) spAccount.getSelectedItem();
|
|
|
|
|
etUser.setEnabled(auth == MailService.AUTH_TYPE_PASSWORD ||
|
|
|
|
|
account == null || !provider.imap.host.equals(account.host));
|
|
|
|
|
tilPassword.setEnabled(auth == MailService.AUTH_TYPE_PASSWORD ||
|
|
|
|
|
account == null || !provider.imap.host.equals(account.host));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|