From 2f8f52fb0be717ea121e4ecfd78d8562067a15ef Mon Sep 17 00:00:00 2001 From: Daniel Applebaum Date: Sun, 7 Feb 2010 16:05:29 +0000 Subject: [PATCH] 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. --- src/com/fsck/k9/activity/setup/AccountSettings.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/fsck/k9/activity/setup/AccountSettings.java b/src/com/fsck/k9/activity/setup/AccountSettings.java index 799f27ec3..b26cb906f 100644 --- a/src/com/fsck/k9/activity/setup/AccountSettings.java +++ b/src/com/fsck/k9/activity/setup/AccountSettings.java @@ -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;