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

Commit 0f314ca1 authored by Dmitry Dementyev's avatar Dmitry Dementyev Committed by Android (Google) Code Review
Browse files

Merge "Ignore authenticators list update for removed users."

parents ad989105 c3e913b3
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1440,6 +1440,11 @@ public class AccountManagerService

    @Override
    public void onServiceChanged(AuthenticatorDescription desc, int userId, boolean removed) {
        UserInfo user = getUserManager().getUserInfo(userId);
        if (user == null) {
            Log.w(TAG, "onServiceChanged: ignore removed user " + userId);
            return;
        }
        validateAccountsInternal(getUserAccounts(userId), false /* invalidateAuthenticatorCache */);
    }