Merge "Refresh authenticator info when accounts change." into jb-mr1-dev

This commit is contained in:
Jeff Sharkey
2012-10-04 16:40:25 -07:00
committed by Android (Google) Code Review

View File

@@ -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();
}