Use correct EAS protocol version in Outbox (fixes #2319892)
* We inadvertently failed to set the EAS version in EasOutboxService, so the default of 2.5 is used * This works, but SmartReply/SmartForward were enhanced in 12.0 and we aren't taking advantage of those changes * The fix is to set the version using common code Change-Id: I3b505448003f340681deeb8fb22e61e9dd8d10a0
This commit is contained in:
parent
3c1334ae1f
commit
ec2d0e41b7
@ -1090,6 +1090,10 @@ public class EasSyncService extends AbstractSyncService {
|
||||
mHostAddress = ha.mAddress;
|
||||
mUserName = ha.mLogin;
|
||||
mPassword = ha.mPassword;
|
||||
|
||||
// Set up our protocol version
|
||||
mProtocolVersion = mAccount.mProtocolVersion;
|
||||
mProtocolVersionDouble = Double.parseDouble(mProtocolVersion);
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -1114,8 +1118,6 @@ public class EasSyncService extends AbstractSyncService {
|
||||
runAccountMailbox();
|
||||
} else {
|
||||
AbstractSyncAdapter target;
|
||||
mProtocolVersion = mAccount.mProtocolVersion;
|
||||
mProtocolVersionDouble = Double.parseDouble(mProtocolVersion);
|
||||
if (mMailbox.mType == Mailbox.TYPE_CONTACTS) {
|
||||
target = new ContactsSyncAdapter(mMailbox, this);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user