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,8 +807,10 @@ public class SyncManager extends Service implements Runnable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static public Account getAccountById(long accountId) {
|
static public Account getAccountById(long accountId) {
|
||||||
|
synchronized (sAccountList) {
|
||||||
return sAccountList.getById(accountId);
|
return sAccountList.getById(accountId);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
static public String getEasAccountSelector() {
|
static public String getEasAccountSelector() {
|
||||||
SyncManager syncManager = INSTANCE;
|
SyncManager syncManager = INSTANCE;
|
||||||
|
Loading…
Reference in New Issue
Block a user