1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-14 13:35:04 -05:00

Merged from trunk r1422:

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:29:44 +00:00
parent 018fb895bd
commit 30e0084c62

View File

@ -82,6 +82,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;