1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-30 21:22:26 -05:00

Correct push restart logic

This commit is contained in:
Daniel Applebaum 2010-05-22 15:08:27 +00:00
parent 6c814fb5e7
commit 493cdc4f5d

View File

@ -433,7 +433,7 @@ public class AccountSettings extends K9PreferenceActivity
if (mAccount.getFolderPushMode() != FolderMode.NONE) if (mAccount.getFolderPushMode() != FolderMode.NONE)
{ {
needsPushRestart |= displayModeChanged; needsPushRestart |= displayModeChanged;
displayModeChanged |= mIncomingChanged; needsPushRestart |= mIncomingChanged;
} }
SharedPreferences prefs = mAccountRingtone.getPreferenceManager().getSharedPreferences(); SharedPreferences prefs = mAccountRingtone.getPreferenceManager().getSharedPreferences();