diff options
author | ByteHamster <info@bytehamster.com> | 2018-07-13 09:38:34 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2018-07-13 09:38:34 +0200 |
commit | 683e5769874176d95d0e96365ba1c139530d88be (patch) | |
tree | d8b47e5a8088f7ba8b88e5a5371128c5b2c9d675 /core/src/main/java/de | |
parent | 3375fe0a24bd427fda7726275c41a3c7fd6e1460 (diff) | |
download | AntennaPod-683e5769874176d95d0e96365ba1c139530d88be.zip |
Do not show badges for ongoing notifications (Closes #2724)
Diffstat (limited to 'core/src/main/java/de')
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/util/gui/NotificationUtils.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/util/gui/NotificationUtils.java b/core/src/main/java/de/danoeh/antennapod/core/util/gui/NotificationUtils.java index 1c42364ea..2a537dc62 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/util/gui/NotificationUtils.java +++ b/core/src/main/java/de/danoeh/antennapod/core/util/gui/NotificationUtils.java @@ -41,6 +41,7 @@ public class NotificationUtils { NotificationChannel mChannel = new NotificationChannel(CHANNEL_ID_DOWNLOADING, c.getString(R.string.notification_channel_downloading), NotificationManager.IMPORTANCE_LOW); mChannel.setDescription(c.getString(R.string.notification_channel_downloading_description)); + mChannel.setShowBadge(false); return mChannel; } @@ -49,6 +50,7 @@ public class NotificationUtils { NotificationChannel mChannel = new NotificationChannel(CHANNEL_ID_PLAYING, c.getString(R.string.notification_channel_playing), NotificationManager.IMPORTANCE_LOW); mChannel.setDescription(c.getString(R.string.notification_channel_playing_description)); + mChannel.setShowBadge(false); return mChannel; } |