diff --git a/src/com/android/email/service/AttachmentDownloadService.java b/src/com/android/email/service/AttachmentDownloadService.java index 9a6361e73..e8b3c4d4e 100644 --- a/src/com/android/email/service/AttachmentDownloadService.java +++ b/src/com/android/email/service/AttachmentDownloadService.java @@ -427,7 +427,7 @@ public class AttachmentDownloadService extends Service implements Runnable { } } // Check whether we can start new downloads... - if (mConnectivityManager.hasConnectivity()) { + if (mConnectivityManager != null && mConnectivityManager.hasConnectivity()) { processQueue(); } }