summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--res/drawable-hdpi-v11/stat_notify_sync.pngbin0 -> 1012 bytes
-rw-r--r--res/drawable-hdpi-v11/stat_notify_sync_error.pngbin0 -> 1103 bytes
-rw-r--r--res/drawable-hdpi/stat_notify_sync.pngbin0 -> 674 bytes
-rw-r--r--res/drawable-hdpi/stat_notify_sync_error.pngbin0 -> 708 bytes
-rw-r--r--res/drawable-mdpi-v11/stat_notify_sync.pngbin0 -> 732 bytes
-rw-r--r--res/drawable-mdpi-v11/stat_notify_sync_error.pngbin0 -> 746 bytes
-rw-r--r--res/drawable-mdpi/stat_notify_sync.pngbin0 -> 628 bytes
-rw-r--r--res/drawable-mdpi/stat_notify_sync_error.pngbin0 -> 627 bytes
-rw-r--r--res/drawable-xhdpi-v11/stat_notify_sync.pngbin0 -> 1306 bytes
-rw-r--r--res/drawable-xhdpi-v11/stat_notify_sync_error.pngbin0 -> 1434 bytes
-rw-r--r--src/de/danoeh/antennapod/service/download/DownloadService.java12
11 files changed, 6 insertions, 6 deletions
diff --git a/res/drawable-hdpi-v11/stat_notify_sync.png b/res/drawable-hdpi-v11/stat_notify_sync.png
new file mode 100644
index 000000000..90b39c958
--- /dev/null
+++ b/res/drawable-hdpi-v11/stat_notify_sync.png
Binary files differ
diff --git a/res/drawable-hdpi-v11/stat_notify_sync_error.png b/res/drawable-hdpi-v11/stat_notify_sync_error.png
new file mode 100644
index 000000000..074cdee27
--- /dev/null
+++ b/res/drawable-hdpi-v11/stat_notify_sync_error.png
Binary files differ
diff --git a/res/drawable-hdpi/stat_notify_sync.png b/res/drawable-hdpi/stat_notify_sync.png
new file mode 100644
index 000000000..bfb8110fe
--- /dev/null
+++ b/res/drawable-hdpi/stat_notify_sync.png
Binary files differ
diff --git a/res/drawable-hdpi/stat_notify_sync_error.png b/res/drawable-hdpi/stat_notify_sync_error.png
new file mode 100644
index 000000000..b340a313e
--- /dev/null
+++ b/res/drawable-hdpi/stat_notify_sync_error.png
Binary files differ
diff --git a/res/drawable-mdpi-v11/stat_notify_sync.png b/res/drawable-mdpi-v11/stat_notify_sync.png
new file mode 100644
index 000000000..1be8677f1
--- /dev/null
+++ b/res/drawable-mdpi-v11/stat_notify_sync.png
Binary files differ
diff --git a/res/drawable-mdpi-v11/stat_notify_sync_error.png b/res/drawable-mdpi-v11/stat_notify_sync_error.png
new file mode 100644
index 000000000..30658c583
--- /dev/null
+++ b/res/drawable-mdpi-v11/stat_notify_sync_error.png
Binary files differ
diff --git a/res/drawable-mdpi/stat_notify_sync.png b/res/drawable-mdpi/stat_notify_sync.png
new file mode 100644
index 000000000..03ce57a47
--- /dev/null
+++ b/res/drawable-mdpi/stat_notify_sync.png
Binary files differ
diff --git a/res/drawable-mdpi/stat_notify_sync_error.png b/res/drawable-mdpi/stat_notify_sync_error.png
new file mode 100644
index 000000000..f849b5040
--- /dev/null
+++ b/res/drawable-mdpi/stat_notify_sync_error.png
Binary files differ
diff --git a/res/drawable-xhdpi-v11/stat_notify_sync.png b/res/drawable-xhdpi-v11/stat_notify_sync.png
new file mode 100644
index 000000000..b3bf21ffe
--- /dev/null
+++ b/res/drawable-xhdpi-v11/stat_notify_sync.png
Binary files differ
diff --git a/res/drawable-xhdpi-v11/stat_notify_sync_error.png b/res/drawable-xhdpi-v11/stat_notify_sync_error.png
new file mode 100644
index 000000000..33582ef10
--- /dev/null
+++ b/res/drawable-xhdpi-v11/stat_notify_sync_error.png
Binary files differ
diff --git a/src/de/danoeh/antennapod/service/download/DownloadService.java b/src/de/danoeh/antennapod/service/download/DownloadService.java
index 02dcb8af5..96a0621ff 100644
--- a/src/de/danoeh/antennapod/service/download/DownloadService.java
+++ b/src/de/danoeh/antennapod/service/download/DownloadService.java
@@ -199,8 +199,8 @@ public class DownloadService extends Service {
this, DownloadActivity.class),
PendingIntent.FLAG_UPDATE_CURRENT);
- Bitmap icon = BitmapFactory.decodeResource(null,
- android.R.drawable.stat_notify_sync_noanim);
+ Bitmap icon = BitmapFactory.decodeResource(getResources(),
+ R.drawable.stat_notify_sync);
notificationBuilder = new NotificationCompat.Builder(this)
.setContentTitle(
getString(R.string.download_notification_title))
@@ -208,7 +208,7 @@ public class DownloadService extends Service {
requester.getNumberOfDownloads()
+ getString(R.string.downloads_left))
.setOngoing(true).setContentIntent(pIntent).setLargeIcon(icon)
- .setSmallIcon(android.R.drawable.stat_notify_sync_noanim);
+ .setSmallIcon(R.drawable.stat_notify_sync);
startForeground(NOTIFICATION_ID, notificationBuilder.getNotification());
if (AppConfig.DEBUG)
@@ -445,10 +445,10 @@ public class DownloadService extends Service {
String.format(
getString(R.string.download_report_content),
successfulDownloads, failedDownloads))
- .setSmallIcon(android.R.drawable.stat_notify_sync)
+ .setSmallIcon(R.drawable.stat_notify_sync)
.setLargeIcon(
- BitmapFactory.decodeResource(null,
- android.R.drawable.stat_notify_sync))
+ BitmapFactory.decodeResource(getResources(),
+ R.drawable.stat_notify_sync))
.setContentIntent(
PendingIntent.getActivity(this, 0, new Intent(this,
DownloadLogActivity.class), 0))