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

Commit 290c6c43 authored by Simranjit Singh Kohli's avatar Simranjit Singh Kohli Committed by Android Git Automerger
Browse files

am bdf2d1fa: Merge "[Fix Potential for error]:" into mnc-dev

* commit 'bdf2d1fa':
  [Fix Potential for error]:
parents 29bcfa13 bdf2d1fa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2355,9 +2355,9 @@ public class AccountManagerService
            callingUid = packageUid;
        }
        checkReadAccountsPermission();
        UserAccounts accounts = getUserAccounts(userId);
        long identityToken = clearCallingIdentity();
        try {
            UserAccounts accounts = getUserAccounts(userId);
            synchronized (accounts.cacheLock) {
                return getAccountsFromCacheLocked(accounts, type, callingUid, callingPackage);
            }