From f2e791de0219e9874ac1878de17ff814f308c8e5 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Fri, 17 Dec 2021 02:22:10 +0100 Subject: don't show led colors for vpn stats notifications, use them when app updates are available --- .../se.leap.bitmaskclient/appUpdate/DownloadNotificationManager.java | 1 + app/src/main/java/se/leap/bitmaskclient/eip/VpnNotificationManager.java | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src') diff --git a/app/src/fatweb/java/se.leap.bitmaskclient/appUpdate/DownloadNotificationManager.java b/app/src/fatweb/java/se.leap.bitmaskclient/appUpdate/DownloadNotificationManager.java index aaf487aa..939ed852 100644 --- a/app/src/fatweb/java/se.leap.bitmaskclient/appUpdate/DownloadNotificationManager.java +++ b/app/src/fatweb/java/se.leap.bitmaskclient/appUpdate/DownloadNotificationManager.java @@ -111,6 +111,7 @@ public class DownloadNotificationManager { NotificationManager.IMPORTANCE_LOW); channel.setSound(null, null); channel.setDescription(description); + channel.setLightColor(Color.BLUE); // Register the channel with the system; you can't change the importance // or other notification behaviors after this notificationManager.createNotificationChannel(channel); diff --git a/app/src/main/java/se/leap/bitmaskclient/eip/VpnNotificationManager.java b/app/src/main/java/se/leap/bitmaskclient/eip/VpnNotificationManager.java index 667b8892..d2603533 100644 --- a/app/src/main/java/se/leap/bitmaskclient/eip/VpnNotificationManager.java +++ b/app/src/main/java/se/leap/bitmaskclient/eip/VpnNotificationManager.java @@ -238,7 +238,6 @@ public class VpnNotificationManager { channel.setDescription(context.getString(R.string.channel_description_status)); channel.enableLights(true); - channel.setLightColor(Color.BLUE); channel.setSound(null, null); compatNotificationManager.createNotificationChannel(channel); } -- cgit v1.2.3