Setup port from services.xml when autoconfiguring
Change-Id: Iec2d3fddb345b57ba84a794d9e92cad7a631c105
This commit is contained in:
parent
cb9035a87d
commit
556af6cfcb
@ -454,6 +454,9 @@ public class AccountSetupBasics extends AccountSetupActivity
|
||||
HostAuth recvAuth = account.getOrCreateHostAuthRecv(this);
|
||||
HostAuth.setHostAuthFromString(recvAuth, mProvider.incomingUri);
|
||||
recvAuth.setLogin(mProvider.incomingUsername, password);
|
||||
EmailServiceInfo info = EmailServiceUtils.getServiceInfo(this, recvAuth.mProtocol);
|
||||
recvAuth.mPort =
|
||||
((recvAuth.mFlags & HostAuth.FLAG_SSL) != 0) ? info.portSsl : info.port;
|
||||
|
||||
HostAuth sendAuth = account.getOrCreateHostAuthSend(this);
|
||||
HostAuth.setHostAuthFromString(sendAuth, mProvider.outgoingUri);
|
||||
|
Loading…
Reference in New Issue
Block a user