diff --git a/core/src/main/java/de/danoeh/antennapod/core/service/GpodnetSyncService.java b/core/src/main/java/de/danoeh/antennapod/core/service/GpodnetSyncService.java index e4d9ff361..70fa4c91f 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/service/GpodnetSyncService.java +++ b/core/src/main/java/de/danoeh/antennapod/core/service/GpodnetSyncService.java @@ -329,7 +329,7 @@ public class GpodnetSyncService extends SafeJobIntentService { .setContentTitle(title) .setContentText(description) .setContentIntent(activityIntent) - .setSmallIcon(R.drawable.stat_notify_sync_error) + .setSmallIcon(R.drawable.ic_notification_sync_error) .setAutoCancel(true) .setVisibility(NotificationCompat.VISIBILITY_PUBLIC) .build(); diff --git a/core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadServiceNotification.java b/core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadServiceNotification.java index b6f7e0b8f..59d0266df 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadServiceNotification.java +++ b/core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadServiceNotification.java @@ -34,7 +34,7 @@ public class DownloadServiceNotification { notificationCompatBuilder = new NotificationCompat.Builder(context, NotificationUtils.CHANNEL_ID_DOWNLOADING) .setOngoing(true) .setContentIntent(ClientConfig.downloadServiceCallbacks.getNotificationContentIntent(context)) - .setSmallIcon(R.drawable.stat_notify_sync); + .setSmallIcon(R.drawable.ic_notification_sync); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { notificationCompatBuilder.setVisibility(NotificationCompat.VISIBILITY_PUBLIC); } @@ -144,14 +144,14 @@ public class DownloadServiceNotification { // We are generating an auto-download report channelId = NotificationUtils.CHANNEL_ID_AUTO_DOWNLOAD; titleId = R.string.auto_download_report_title; - iconId = R.drawable.auto_download_complete; + iconId = R.drawable.ic_notification_auto_download_complete; intent = ClientConfig.downloadServiceCallbacks.getAutoDownloadReportNotificationContentIntent(context); id = AUTO_REPORT_ID; content = createAutoDownloadNotificationContent(reportQueue); } else { channelId = NotificationUtils.CHANNEL_ID_ERROR; titleId = R.string.download_report_title; - iconId = R.drawable.stat_notify_sync_error; + iconId = R.drawable.ic_notification_sync_error; intent = ClientConfig.downloadServiceCallbacks.getReportNotificationContentIntent(context); id = REPORT_ID; content = String.format(context.getString(R.string.download_report_content), successfulDownloads, failedDownloads); diff --git a/core/src/main/res/drawable-hdpi/stat_notify_sync.png b/core/src/main/res/drawable-hdpi/stat_notify_sync.png deleted file mode 100644 index f70373d50..000000000 Binary files a/core/src/main/res/drawable-hdpi/stat_notify_sync.png and /dev/null differ diff --git a/core/src/main/res/drawable-hdpi/stat_notify_sync_error.png b/core/src/main/res/drawable-hdpi/stat_notify_sync_error.png deleted file mode 100644 index 222e9e8b1..000000000 Binary files a/core/src/main/res/drawable-hdpi/stat_notify_sync_error.png and /dev/null differ diff --git a/core/src/main/res/drawable-mdpi/stat_notify_sync.png b/core/src/main/res/drawable-mdpi/stat_notify_sync.png deleted file mode 100644 index 02066f847..000000000 Binary files a/core/src/main/res/drawable-mdpi/stat_notify_sync.png and /dev/null differ diff --git a/core/src/main/res/drawable-mdpi/stat_notify_sync_error.png b/core/src/main/res/drawable-mdpi/stat_notify_sync_error.png deleted file mode 100644 index d797f59c3..000000000 Binary files a/core/src/main/res/drawable-mdpi/stat_notify_sync_error.png and /dev/null differ diff --git a/core/src/main/res/drawable-xhdpi/stat_notify_sync.png b/core/src/main/res/drawable-xhdpi/stat_notify_sync.png deleted file mode 100644 index d7348168d..000000000 Binary files a/core/src/main/res/drawable-xhdpi/stat_notify_sync.png and /dev/null differ diff --git a/core/src/main/res/drawable-xhdpi/stat_notify_sync_error.png b/core/src/main/res/drawable-xhdpi/stat_notify_sync_error.png deleted file mode 100644 index 78c5df4d9..000000000 Binary files a/core/src/main/res/drawable-xhdpi/stat_notify_sync_error.png and /dev/null differ diff --git a/core/src/main/res/drawable-xxhdpi/stat_notify_sync.png b/core/src/main/res/drawable-xxhdpi/stat_notify_sync.png deleted file mode 100644 index dabb1ea27..000000000 Binary files a/core/src/main/res/drawable-xxhdpi/stat_notify_sync.png and /dev/null differ diff --git a/core/src/main/res/drawable-xxhdpi/stat_notify_sync_error.png b/core/src/main/res/drawable-xxhdpi/stat_notify_sync_error.png deleted file mode 100644 index 6810a8249..000000000 Binary files a/core/src/main/res/drawable-xxhdpi/stat_notify_sync_error.png and /dev/null differ diff --git a/core/src/main/res/drawable/auto_download_complete.xml b/core/src/main/res/drawable/ic_notification_auto_download_complete.xml similarity index 88% rename from core/src/main/res/drawable/auto_download_complete.xml rename to core/src/main/res/drawable/ic_notification_auto_download_complete.xml index 500d1e156..0caf27836 100644 --- a/core/src/main/res/drawable/auto_download_complete.xml +++ b/core/src/main/res/drawable/ic_notification_auto_download_complete.xml @@ -1,6 +1,6 @@ + + diff --git a/core/src/main/res/drawable/ic_notification_sync_error.xml b/core/src/main/res/drawable/ic_notification_sync_error.xml new file mode 100644 index 000000000..b5be1b747 --- /dev/null +++ b/core/src/main/res/drawable/ic_notification_sync_error.xml @@ -0,0 +1,5 @@ + + +