diff --git a/src/com/android/exchange/SyncManager.java b/src/com/android/exchange/SyncManager.java index e93d6e02c..9772515d7 100644 --- a/src/com/android/exchange/SyncManager.java +++ b/src/com/android/exchange/SyncManager.java @@ -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() {