1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00

Fixes Issue 1112

Fixes Issue 1034

Refresh Account from Preferences, so that it'll have a fresh copy of
all information.  Failure to do this caused the AccountSettings
Activity to show stale information when invoked repeatedly from the
same prior Activity.
This commit is contained in:
Daniel Applebaum 2010-02-07 16:05:29 +00:00
parent c497485b2f
commit 2f8f52fb0b

View File

@ -87,6 +87,7 @@ public class AccountSettings extends K9PreferenceActivity
super.onCreate(savedInstanceState);
mAccount = (Account)getIntent().getSerializableExtra(EXTRA_ACCOUNT);
mAccount.refresh(Preferences.getPreferences(this));
boolean isPushCapable = false;
boolean isExpungeCapable = false;