Changed download report icon, ticker and content title

This commit is contained in:
Martin Fietz 2015-04-29 13:49:08 +02:00
parent 21ca881572
commit fd49d491b7
2 changed files with 4 additions and 3 deletions

View File

@ -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),

View File

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