Show sync window prefs for EAS only.

Bug: 4651025
Change-Id: I1633a2a94e28466686e90df4ff0cdebaaa1a81df
This commit is contained in:
Ben Komalo 2011-06-14 19:10:28 -07:00
parent e4ca576ab0
commit 82e0e1c4c5

View File

@ -439,7 +439,7 @@ public class AccountSettingsFragment extends PreferenceFragment {
// Add check window preference
mSyncWindow = null;
if (!HostAuth.SCHEME_EAS.equals(protocol)) {
if (HostAuth.SCHEME_EAS.equals(protocol)) {
mSyncWindow = new ListPreference(mContext);
mSyncWindow.setTitle(R.string.account_setup_options_mail_window_label);
mSyncWindow.setEntries(R.array.account_settings_mail_window_entries);