diff options
author | Jeff Sharkey <jsharkey@android.com> | 2012-10-03 16:48:17 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2012-10-03 16:49:35 -0700 |
commit | 9ff79c19bd55963aaf3627628a47a2381e1fbdc7 (patch) | |
tree | 69235c8adff89b6b26bf19b793988fa76766f3a1 /src | |
parent | 347188667b984fb43e8f973b105ddbde4a8fdb8b (diff) | |
download | packages_apps_settings-9ff79c19bd55963aaf3627628a47a2381e1fbdc7.zip packages_apps_settings-9ff79c19bd55963aaf3627628a47a2381e1fbdc7.tar.gz packages_apps_settings-9ff79c19bd55963aaf3627628a47a2381e1fbdc7.tar.bz2 |
Refresh authenticator info when accounts change.
There may be newly installed authenticators, so refresh them when
accounts change.
Bug: 7280043
Change-Id: Ic173970c815950526c77a2653e7fae4551948f13
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/settings/Settings.java | 2 |
1 files changed, 2 insertions, 0 deletions
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(); } |