Change the message that appears when downloads are finished
In the event that the notification hangs around, this is a more accurate description of what is happening.
This commit is contained in:
parent
fcbbaa4060
commit
8755a54e99
|
@ -53,7 +53,7 @@ public class DownloadServiceNotification {
|
||||||
String contentTitle = context.getString(R.string.download_notification_title);
|
String contentTitle = context.getString(R.string.download_notification_title);
|
||||||
String downloadsLeft = (numDownloads > 0)
|
String downloadsLeft = (numDownloads > 0)
|
||||||
? context.getResources().getQuantityString(R.plurals.downloads_left, numDownloads, numDownloads)
|
? context.getResources().getQuantityString(R.plurals.downloads_left, numDownloads, numDownloads)
|
||||||
: context.getString(R.string.downloads_processing);
|
: context.getString(R.string.service_shutting_down);
|
||||||
String bigText = compileNotificationString(downloads);
|
String bigText = compileNotificationString(downloads);
|
||||||
|
|
||||||
notificationCompatBuilder.setContentTitle(contentTitle);
|
notificationCompatBuilder.setContentTitle(contentTitle);
|
||||||
|
|
|
@ -270,7 +270,7 @@
|
||||||
<item quantity="one">%d download left</item>
|
<item quantity="one">%d download left</item>
|
||||||
<item quantity="other">%d downloads left</item>
|
<item quantity="other">%d downloads left</item>
|
||||||
</plurals>
|
</plurals>
|
||||||
<string name="downloads_processing">Processing downloads</string>
|
<string name="service_shutting_down">Service shutting down</string>
|
||||||
<string name="download_notification_title">Downloading podcast data</string>
|
<string name="download_notification_title">Downloading podcast data</string>
|
||||||
<plurals name="download_report_content">
|
<plurals name="download_report_content">
|
||||||
<item quantity="one">%d download succeeded, %d failed</item>
|
<item quantity="one">%d download succeeded, %d failed</item>
|
||||||
|
|
Loading…
Reference in New Issue