From 9ff79c19bd55963aaf3627628a47a2381e1fbdc7 Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Wed, 3 Oct 2012 16:48:17 -0700 Subject: Refresh authenticator info when accounts change. There may be newly installed authenticators, so refresh them when accounts change. Bug: 7280043 Change-Id: Ic173970c815950526c77a2653e7fae4551948f13 --- src/com/android/settings/Settings.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/com/android/settings/Settings.java b/src/com/android/settings/Settings.java index c2b5cc1..9c7f848 100644 --- a/src/com/android/settings/Settings.java +++ b/src/com/android/settings/Settings.java @@ -750,6 +750,8 @@ public class Settings extends PreferenceActivity @Override public void onAccountsUpdated(Account[] accounts) { + // TODO: watch for package upgrades to invalidate cache; see 7206643 + mAuthenticatorHelper.updateAuthDescriptions(this); mAuthenticatorHelper.onAccountsUpdated(this, accounts); invalidateHeaders(); } -- cgit v1.1