summaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2019-05-22 21:12:17 +0200
committercyBerta <cyberta@riseup.net>2019-05-22 21:12:17 +0200
commit56afbd54003b730aa09e6f189fe0276a566459cf (patch)
treeda3962dc1af3a4cef31d5879a17fe1aa7c83a8a7 /app/src
parent7dc9f9e9caf41976d08c967d2d966648c99f929b (diff)
try to work around Android O notification sound bug
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/VpnNotificationManager.java2
1 files changed, 2 insertions, 0 deletions
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);
}