am 805562e2: Fix logic for use of "Sync Contacts" button value

Merge commit '805562e26f50bd57c3b9bd357644285d3f1941a4' into eclair-plus-aosp

* commit '805562e26f50bd57c3b9bd357644285d3f1941a4':
  Fix logic for use of "Sync Contacts" button value
This commit is contained in:
Marc Blank 2009-09-09 18:43:41 -07:00 committed by Android Git Automerger
commit ede0c5c59e

View File

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