1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-22 19:01:30 +00:00

Disable badge for persistent notification (fixes #1305)

This commit is contained in:
Max 2019-04-21 00:45:24 +02:00 committed by Martin Carpella
parent 9b2d77bc67
commit 6a36c2d5c0

View file

@ -57,6 +57,7 @@ public class NotificationHandler {
mPersistentChannel.enableLights(false);
mPersistentChannel.enableVibration(false);
mPersistentChannel.setSound(null, null);
mPersistentChannel.setShowBadge(false); // Disables the dot next to the app icon
mNotificationManager.createNotificationChannel(mPersistentChannel);
mPersistentChannelWaiting = new NotificationChannel(