Refresh authenticator info when accounts change.
There may be newly installed authenticators, so refresh them when accounts change. Bug: 7280043 Change-Id: Ic173970c815950526c77a2653e7fae4551948f13
This commit is contained in:
@@ -750,6 +750,8 @@ public class Settings extends PreferenceActivity
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onAccountsUpdated(Account[] accounts) {
|
public void onAccountsUpdated(Account[] accounts) {
|
||||||
|
// TODO: watch for package upgrades to invalidate cache; see 7206643
|
||||||
|
mAuthenticatorHelper.updateAuthDescriptions(this);
|
||||||
mAuthenticatorHelper.onAccountsUpdated(this, accounts);
|
mAuthenticatorHelper.onAccountsUpdated(this, accounts);
|
||||||
invalidateHeaders();
|
invalidateHeaders();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user