From 66daf64911150f4d8f7e6c29d06d504bf79643cf Mon Sep 17 00:00:00 2001 From: daneren2005 Date: Wed, 2 Jul 2014 13:12:27 -0700 Subject: Don't force redownload if BufferProxy calls onResume --- src/github/daneren2005/dsub/service/DownloadFile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(); } } -- cgit v1.2.3