From 56afbd54003b730aa09e6f189fe0276a566459cf Mon Sep 17 00:00:00 2001 From: cyBerta Date: Wed, 22 May 2019 21:12:17 +0200 Subject: try to work around Android O notification sound bug --- app/src/main/java/se/leap/bitmaskclient/VpnNotificationManager.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/src/main/java/se/leap/bitmaskclient/VpnNotificationManager.java') diff --git a/app/src/main/java/se/leap/bitmaskclient/VpnNotificationManager.java b/app/src/main/java/se/leap/bitmaskclient/VpnNotificationManager.java index 566b3453..9107568c 100644 --- a/app/src/main/java/se/leap/bitmaskclient/VpnNotificationManager.java +++ b/app/src/main/java/se/leap/bitmaskclient/VpnNotificationManager.java @@ -176,6 +176,7 @@ public class VpnNotificationManager { mChannel.enableLights(true); mChannel.setLightColor(Color.BLUE); + mChannel.setSound(null, null); notificationManager.createNotificationChannel(mChannel); } @@ -206,6 +207,7 @@ public class VpnNotificationManager { mChannel.enableLights(true); mChannel.setLightColor(Color.BLUE); + mChannel.setSound(null, null); notificationManager.createNotificationChannel(mChannel); } -- cgit v1.2.3