Fix logic for use of "Sync Contacts" button value

Change-Id: I9abed1830a61795542bdf15ee62395a63abc9222
This commit is contained in:
Marc Blank 2009-09-09 18:37:42 -07:00
parent d46ec14e6e
commit 805562e26f

View File

@ -199,7 +199,7 @@ public class AccountSetupOptions extends Activity implements OnClickListener {
if (!mAccount.isSaved() if (!mAccount.isSaved()
&& mAccount.mHostAuthRecv != null && mAccount.mHostAuthRecv != null
&& mAccount.mHostAuthRecv.mProtocol.equals("eas")) { && mAccount.mHostAuthRecv.mProtocol.equals("eas")) {
boolean alsoSyncContacts = mEasFlowMode && mSyncContactsView.isChecked(); boolean alsoSyncContacts = mSyncContactsView.isChecked();
ExchangeStore.addSystemAccount(this, mAccount, ExchangeStore.addSystemAccount(this, mAccount,
alsoSyncContacts, mAccountManagerCallback); alsoSyncContacts, mAccountManagerCallback);
} else { } else {