Do not try to resume download of feeds (#6591)
This commit is contained in:
parent
91d5238f08
commit
b5cd973a86
|
@ -21,6 +21,9 @@ public class DownloadRequestCreator {
|
|||
|
||||
public static DownloadRequest.Builder create(Feed feed) {
|
||||
File dest = new File(getFeedfilePath(), getFeedfileName(feed));
|
||||
if (dest.exists()) {
|
||||
dest.delete();
|
||||
}
|
||||
Log.d(TAG, "Requesting download of url " + feed.getDownload_url());
|
||||
|
||||
String username = (feed.getPreferences() != null) ? feed.getPreferences().getUsername() : null;
|
||||
|
|
Loading…
Reference in New Issue