diff options
author | daneren2005 <daneren2005@gmail.com> | 2013-10-18 11:13:23 -0700 |
---|---|---|
committer | daneren2005 <daneren2005@gmail.com> | 2013-10-18 11:13:23 -0700 |
commit | 59d8699bd00be1d70a8c1e3488882ab78c3840c1 (patch) | |
tree | 51e5a4a3e95469d64eb66878695d177975286d3a /src/github | |
parent | 80d5c75a6ef79fda1040df9c89036d24f3d54780 (diff) | |
download | dsub-59d8699bd00be1d70a8c1e3488882ab78c3840c1.tar.gz dsub-59d8699bd00be1d70a8c1e3488882ab78c3840c1.tar.bz2 dsub-59d8699bd00be1d70a8c1e3488882ab78c3840c1.zip |
Add isOffline check to checkDownloads
Diffstat (limited to 'src/github')
-rw-r--r-- | src/github/daneren2005/dsub/service/DownloadServiceImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/service/DownloadServiceImpl.java b/src/github/daneren2005/dsub/service/DownloadServiceImpl.java index 8db1c9cb..9c58ed2f 100644 --- a/src/github/daneren2005/dsub/service/DownloadServiceImpl.java +++ b/src/github/daneren2005/dsub/service/DownloadServiceImpl.java @@ -1347,7 +1347,7 @@ public class DownloadServiceImpl extends Service implements DownloadService { } protected synchronized void checkDownloads() { - if (!Util.isExternalStoragePresent() || !lifecycleSupport.isExternalStorageAvailable()) { + if (!Util.isExternalStoragePresent() || !lifecycleSupport.isExternalStorageAvailable() || Util.isOffline(this)) { return; } |