diff options
author | daneren2005 <daneren2005@gmail.com> | 2014-07-02 13:12:27 -0700 |
---|---|---|
committer | daneren2005 <daneren2005@gmail.com> | 2014-07-02 13:12:27 -0700 |
commit | 66daf64911150f4d8f7e6c29d06d504bf79643cf (patch) | |
tree | 738e3049c0c094511721772ec3f7feb96d326561 /src/github/daneren2005 | |
parent | 8859c94f25916210844ca061f32419719f6b8d82 (diff) | |
download | dsub-66daf64911150f4d8f7e6c29d06d504bf79643cf.tar.gz dsub-66daf64911150f4d8f7e6c29d06d504bf79643cf.tar.bz2 dsub-66daf64911150f4d8f7e6c29d06d504bf79643cf.zip |
Don't force redownload if BufferProxy calls onResume
Diffstat (limited to 'src/github/daneren2005')
-rw-r--r-- | src/github/daneren2005/dsub/service/DownloadFile.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/service/DownloadFile.java b/src/github/daneren2005/dsub/service/DownloadFile.java index 4fb6bb42..3fe3ba93 100644 --- a/src/github/daneren2005/dsub/service/DownloadFile.java +++ b/src/github/daneren2005/dsub/service/DownloadFile.java @@ -237,7 +237,7 @@ public class DownloadFile implements BufferFile { @Override public synchronized void onResume() { - if(!isFailedMax() && !isDownloading() && !isDownloadCancelled()) { + if(!isWorkDone() && !isFailedMax() && !isDownloading() && !isDownloadCancelled()) { download(); } } |