diff options
author | Nathan Mascitelli <mascitelli.nathan@gmail.com> | 2020-02-07 11:42:46 -0500 |
---|---|---|
committer | Nathan Mascitelli <mascitelli.nathan@gmail.com> | 2020-03-22 16:25:57 -0400 |
commit | 5d70a3cc38f561a95050fb552194d8b4ab4ef56d (patch) | |
tree | 716e903cbb05e059bd66f4351e8e86ec7917bc22 /app/src/main/java/de/danoeh/antennapod/adapter/actionbutton | |
parent | 71f57bda32b942320b564ad68d0919fab0a77378 (diff) | |
download | AntennaPod-5d70a3cc38f561a95050fb552194d8b4ab4ef56d.zip |
Rename generatedBySystem to initiatedByUser
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod/adapter/actionbutton')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/DownloadActionButton.java | 2 | ||||
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/MobileDownloadHelper.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/DownloadActionButton.java b/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/DownloadActionButton.java index f70d41a97..44435c02e 100644 --- a/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/DownloadActionButton.java +++ b/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/DownloadActionButton.java @@ -71,7 +71,7 @@ public class DownloadActionButton extends ItemActionButton { private void downloadEpisode(Context context) { try { - DownloadRequester.getInstance().downloadMedia(context, item); + DownloadRequester.getInstance().downloadMedia(context, true, item); } catch (DownloadRequestException e) { e.printStackTrace(); DownloadRequestErrorDialogCreator.newRequestErrorDialog(context, e.getMessage()); diff --git a/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/MobileDownloadHelper.java b/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/MobileDownloadHelper.java index 5040029f5..80ecd4994 100644 --- a/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/MobileDownloadHelper.java +++ b/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/MobileDownloadHelper.java @@ -48,7 +48,7 @@ class MobileDownloadHelper { private static void downloadFeedItems(Context context, FeedItem item) { allowMobileDownloadTimestamp = System.currentTimeMillis(); try { - DownloadRequester.getInstance().downloadMedia(context, false, item); + DownloadRequester.getInstance().downloadMedia(context, true, item); Toast.makeText(context, R.string.status_downloading_label, Toast.LENGTH_SHORT).show(); } catch (DownloadRequestException e) { e.printStackTrace(); |