diff --git a/src/com/android/exchange/SyncManager.java b/src/com/android/exchange/SyncManager.java index b451ef1f6..80594257b 100644 --- a/src/com/android/exchange/SyncManager.java +++ b/src/com/android/exchange/SyncManager.java @@ -830,8 +830,10 @@ public class SyncManager extends Service implements Runnable { static public String getEasAccountSelector() { SyncManager syncManager = INSTANCE; - if (syncManager == null) return null; - return syncManager.mAccountObserver.getAccountKeyWhere(); + if (syncManager != null && syncManager.mAccountObserver != null) { + return syncManager.mAccountObserver.getAccountKeyWhere(); + } + return null; } public class SyncStatus {