diff options
author | Martin Fietz <marf@hadiko-99-4.hadiko.uni-karlsruhe.de> | 2015-04-29 13:49:08 +0200 |
---|---|---|
committer | Martin Fietz <marf@hadiko-99-4.hadiko.uni-karlsruhe.de> | 2015-04-29 13:49:08 +0200 |
commit | fd49d491b72b9261b4ebe3957955c194046f6c32 (patch) | |
tree | ae066d3a1930adfe579891fca27d3971d6003e8f | |
parent | 21ca881572dfda73b4513821be48fbef7f5d92e9 (diff) | |
download | AntennaPod-fd49d491b72b9261b4ebe3957955c194046f6c32.zip |
Changed download report icon, ticker and content title
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadService.java | 4 | ||||
-rw-r--r-- | core/src/main/res/values/strings.xml | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadService.java b/core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadService.java index 6703913cc..b3381b4e3 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadService.java +++ b/core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadService.java @@ -520,7 +520,7 @@ public class DownloadService extends Service { /** * Creates a notification at the end of the service lifecycle to notify the * user about the number of completed downloads. A report will only be - * created if there is at least one failed download excluding images + * created if there is at least one failed download excluding images */ private void updateReport() { // check if report should be created @@ -548,7 +548,7 @@ public class DownloadService extends Service { .setTicker( getString(R.string.download_report_title)) .setContentTitle( - getString(R.string.download_report_title)) + getString(R.string.download_report_content_title)) .setContentText( String.format( getString(R.string.download_report_content), diff --git a/core/src/main/res/values/strings.xml b/core/src/main/res/values/strings.xml index f162bb353..c0c2f06de 100644 --- a/core/src/main/res/values/strings.xml +++ b/core/src/main/res/values/strings.xml @@ -128,7 +128,8 @@ <string name="download_error_unauthorized">Authentication error</string> <string name="cancel_all_downloads_label">Cancel all downloads</string> <string name="download_cancelled_msg">Download cancelled</string> - <string name="download_report_title">Downloads completed</string> + <string name="download_report_title">Downloads completed with error(s)</string> + <string name="download_report_content_title">Download report</string> <string name="download_error_malformed_url">Malformed URL</string> <string name="download_error_io_error">IO Error</string> <string name="download_error_request_error">Request error</string> |