diff options
author | Nathan Mascitelli <mascitelli.nathan@gmail.com> | 2020-03-24 21:12:02 -0400 |
---|---|---|
committer | Nathan Mascitelli <mascitelli.nathan@gmail.com> | 2020-03-24 21:12:02 -0400 |
commit | 9637734000d399ffaa8739f5a3f1c1624b2a6a37 (patch) | |
tree | 804d2c02c2157f72cebef3d7988561c9f24aef3b /core/src/main | |
parent | 125fa3932e84b7b13c9994b07b82abc8656bd0f9 (diff) | |
download | AntennaPod-9637734000d399ffaa8739f5a3f1c1624b2a6a37.zip |
Add and use new icon
Diffstat (limited to 'core/src/main')
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadServiceNotification.java | 2 | ||||
-rw-r--r-- | core/src/main/res/drawable/auto_download_complete.xml | 9 |
2 files changed, 10 insertions, 1 deletions
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 8a1008f37..b6a7cc89e 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 @@ -145,7 +145,7 @@ 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.stat_notify_sync; + iconId = R.drawable.auto_download_complete; intent = ClientConfig.downloadServiceCallbacks.getAutoDownloadReportNotificationContentIntent(context); id = AUTO_REPORT_ID; StringBuilder sb = new StringBuilder(); diff --git a/core/src/main/res/drawable/auto_download_complete.xml b/core/src/main/res/drawable/auto_download_complete.xml new file mode 100644 index 000000000..500d1e156 --- /dev/null +++ b/core/src/main/res/drawable/auto_download_complete.xml @@ -0,0 +1,9 @@ +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="48dp" + android:height="48dp" + android:viewportWidth="24" + android:viewportHeight="24"> + <path + android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zM12,20c-4.41,0 -8,-3.59 -8,-8s3.59,-8 8,-8 8,3.59 8,8 -3.59,8 -8,8zM16.59,7.58L10,14.17l-2.59,-2.58L6,13l4,4 8,-8z" + android:fillColor="#ffffff"/> +</vector> |