Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9ff79c19 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Refresh authenticator info when accounts change.

There may be newly installed authenticators, so refresh them when
accounts change.

Bug: 7280043
Change-Id: Ic173970c815950526c77a2653e7fae4551948f13
parent 34718866
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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();
    }