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 Binary files /dev/null and b/res/drawable-hdpi-v11/stat_notify_sync.png 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 Binary files /dev/null and b/res/drawable-hdpi-v11/stat_notify_sync_error.png 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 Binary files /dev/null and b/res/drawable-hdpi/stat_notify_sync.png 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 Binary files /dev/null and b/res/drawable-hdpi/stat_notify_sync_error.png 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 Binary files /dev/null and b/res/drawable-mdpi-v11/stat_notify_sync.png 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 Binary files /dev/null and b/res/drawable-mdpi-v11/stat_notify_sync_error.png 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 Binary files /dev/null and b/res/drawable-mdpi/stat_notify_sync.png 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 Binary files /dev/null and b/res/drawable-mdpi/stat_notify_sync_error.png 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 Binary files /dev/null and b/res/drawable-xhdpi-v11/stat_notify_sync.png 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 Binary files /dev/null and b/res/drawable-xhdpi-v11/stat_notify_sync_error.png 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))