Merge "Catch NPE in AttachmentDownloadService"
This commit is contained in:
commit
1f825aa538
@ -427,7 +427,7 @@ public class AttachmentDownloadService extends Service implements Runnable {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Check whether we can start new downloads...
|
// Check whether we can start new downloads...
|
||||||
if (mConnectivityManager.hasConnectivity()) {
|
if (mConnectivityManager != null && mConnectivityManager.hasConnectivity()) {
|
||||||
processQueue();
|
processQueue();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user