From ec2d0e41b76942877306e9993fb9d11863b507d9 Mon Sep 17 00:00:00 2001 From: Marc Blank Date: Thu, 10 Dec 2009 14:04:24 -0800 Subject: [PATCH] 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 --- src/com/android/exchange/EasSyncService.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/com/android/exchange/EasSyncService.java b/src/com/android/exchange/EasSyncService.java index f26a21fb2..45c3dcbcd 100644 --- a/src/com/android/exchange/EasSyncService.java +++ b/src/com/android/exchange/EasSyncService.java @@ -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 {