Refresh authenticator info when accounts change.
There may be newly installed authenticators, so refresh them when
accounts change.
Bug: 7280043
Change-Id: Ic173970c815950526c77a2653e7fae4551948f13
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 @@
@Override
public void onAccountsUpdated(Account[] accounts) {
+ // TODO: watch for package upgrades to invalidate cache; see 7206643
+ mAuthenticatorHelper.updateAuthDescriptions(this);
mAuthenticatorHelper.onAccountsUpdated(this, accounts);
invalidateHeaders();
}