diff --git a/app/src/main/res/xml/preferences_network.xml b/app/src/main/res/xml/preferences_network.xml index 9d1ce28c6..bd52c2929 100644 --- a/app/src/main/res/xml/preferences_network.xml +++ b/app/src/main/res/xml/preferences_network.xml @@ -35,6 +35,12 @@ android:key="prefShowDownloadReport" android:summary="@string/pref_showDownloadReport_sum" android:title="@string/pref_showDownloadReport_title"/> + reportQueue) { + public void updateReport(List reportQueue, boolean showAutoDownloadReport) { // check if report should be created boolean createReport = false; int successfulDownloads = 0; @@ -110,7 +110,7 @@ public class DownloadServiceNotification { } else if (!status.isCancelled()) { failedDownloads++; } - if (failedDownloads > 0 || status.isGeneratedBySystem() && status.getFeedfileType() == FeedMedia.FEEDFILETYPE_FEEDMEDIA) { + if (failedDownloads > 0 || showAutoDownloadReport && status.isGeneratedBySystem() && status.getFeedfileType() == FeedMedia.FEEDFILETYPE_FEEDMEDIA) { createReport = true; } } diff --git a/core/src/main/res/values/strings.xml b/core/src/main/res/values/strings.xml index c65aed322..54b6a9f4d 100644 --- a/core/src/main/res/values/strings.xml +++ b/core/src/main/res/values/strings.xml @@ -470,6 +470,8 @@ Set the lockscreen background to the current episode\'s image. As a side effect, this will also show the image in third party apps. Show Download Report If downloads fail, generate a report that shows the details of the failure. + Show Auto Download Report + Generate a report that shows the details of auto downloaded episodes. Android versions before 4.1 do not support expanded notifications. Enqueue Location Add episodes to: %1$s