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

Commit eb3771cd authored by Benjamin Franz's avatar Benjamin Franz Committed by Android (Google) Code Review
Browse files

Merge "Use UserAccounts handed into accountExistsCacheLocked" into nyc-dev

parents a3e0a619 0e592733
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1734,7 +1734,7 @@ public class AccountManagerService

    private boolean accountExistsCacheLocked(UserAccounts accounts, Account account) {
        if (accounts.accountCache.containsKey(account.type)) {
            for (Account acc : getUserAccountsForCaller().accountCache.get(account.type)) {
            for (Account acc : accounts.accountCache.get(account.type)) {
                if (acc.name.equals(account.name)) {
                    return true;
                }