mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-23 04:41:16 +00:00
Disable badge for persistent notification (fixes #1305)
This commit is contained in:
parent
9b2d77bc67
commit
6a36c2d5c0
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@ public class NotificationHandler {
|
||||||
mPersistentChannel.enableLights(false);
|
mPersistentChannel.enableLights(false);
|
||||||
mPersistentChannel.enableVibration(false);
|
mPersistentChannel.enableVibration(false);
|
||||||
mPersistentChannel.setSound(null, null);
|
mPersistentChannel.setSound(null, null);
|
||||||
|
mPersistentChannel.setShowBadge(false); // Disables the dot next to the app icon
|
||||||
mNotificationManager.createNotificationChannel(mPersistentChannel);
|
mNotificationManager.createNotificationChannel(mPersistentChannel);
|
||||||
|
|
||||||
mPersistentChannelWaiting = new NotificationChannel(
|
mPersistentChannelWaiting = new NotificationChannel(
|
||||||
|
|
Loading…
Reference in a new issue