Merge "Synchronize getAccountById on sAccountList" into froyo
This commit is contained in:
commit
69757c6670
@ -807,7 +807,9 @@ public class SyncManager extends Service implements Runnable {
|
||||
}
|
||||
|
||||
static public Account getAccountById(long accountId) {
|
||||
return sAccountList.getById(accountId);
|
||||
synchronized (sAccountList) {
|
||||
return sAccountList.getById(accountId);
|
||||
}
|
||||
}
|
||||
|
||||
static public String getEasAccountSelector() {
|
||||
|
Loading…
Reference in New Issue
Block a user