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
1 changed files with 1 additions and 0 deletions

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;