am bdf2d1fa: Merge "[Fix Potential for error]:" into mnc-dev
* commit 'bdf2d1fa382d4016087b2046beb871e9b3edb8df': [Fix Potential for error]:
This commit is contained in:
committed by
Android Git Automerger
commit
ca33857870
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user