Merge "[Fix Potential for error]:" into mnc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
bdf2d1fa38
@@ -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