am 69757c66
: Merge "Synchronize getAccountById on sAccountList" into froyo
Merge commit '69757c6670b8b6fbeea6da1d9690002e0f7b9293' into froyo-plus-aosp * commit '69757c6670b8b6fbeea6da1d9690002e0f7b9293': Synchronize getAccountById on sAccountList
This commit is contained in:
commit
6647399802
@ -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