Do not try to resume download of feeds (#6591)

This commit is contained in:
ByteHamster 2023-08-22 12:00:34 +02:00 committed by GitHub
parent 91d5238f08
commit b5cd973a86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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;