Save IMAP prefix.
Bug: 4517078 Change-Id: I4f4a1e490abc78088ec8ded4e4627e5da1ac3fd2
This commit is contained in:
parent
b83ecdbb9f
commit
5125c06cef
@ -20,6 +20,7 @@ import android.app.Activity;
|
||||
import android.content.Context;
|
||||
import android.os.Bundle;
|
||||
import android.text.Editable;
|
||||
import android.text.TextUtils;
|
||||
import android.text.TextWatcher;
|
||||
import android.text.method.DigitsKeyListener;
|
||||
import android.util.Log;
|
||||
@ -450,7 +451,12 @@ public class AccountSetupIncomingFragment extends AccountServerBaseFragment {
|
||||
}
|
||||
int securityType = (Integer) ((SpinnerOption) mSecurityTypeView.getSelectedItem()).value;
|
||||
recvAuth.setConnection(mBaseScheme, serverAddress, serverPort, securityType);
|
||||
recvAuth.mDomain = null;
|
||||
if (HostAuth.SCHEME_IMAP.equals(recvAuth.mProtocol)) {
|
||||
String prefix = mImapPathPrefixView.getText().toString().trim();
|
||||
recvAuth.mDomain = TextUtils.isEmpty(prefix) ? null : ("/" + prefix);
|
||||
} else {
|
||||
recvAuth.mDomain = null;
|
||||
}
|
||||
|
||||
// Check for a duplicate account (requires async DB work) and if OK,
|
||||
// proceed with check
|
||||
|
Loading…
Reference in New Issue
Block a user