1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-26 01:28:50 -05:00

Fixes Issue 1653

All set the display class, whether or not in push mode.
This commit is contained in:
Daniel Applebaum 2010-05-22 14:28:04 +00:00
parent 7ca2086c73
commit 6c814fb5e7

View File

@ -428,10 +428,12 @@ public class AccountSettings extends K9PreferenceActivity
needsRefresh |= mAccount.setFolderSyncMode(Account.FolderMode.valueOf(mSyncMode.getValue()));
boolean needsPushRestart = mAccount.setFolderPushMode(Account.FolderMode.valueOf(mPushMode.getValue()));
boolean displayModeChanged = mAccount.setFolderDisplayMode(Account.FolderMode.valueOf(mDisplayMode.getValue()));
if (mAccount.getFolderPushMode() != FolderMode.NONE)
{
needsPushRestart |= mAccount.setFolderDisplayMode(Account.FolderMode.valueOf(mDisplayMode.getValue()));
needsPushRestart |= mIncomingChanged;
needsPushRestart |= displayModeChanged;
displayModeChanged |= mIncomingChanged;
}
SharedPreferences prefs = mAccountRingtone.getPreferenceManager().getSharedPreferences();