diff options
author | cyBerta <cyberta@riseup.net> | 2019-05-22 21:12:17 +0200 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2019-05-22 21:12:17 +0200 |
commit | 56afbd54003b730aa09e6f189fe0276a566459cf (patch) | |
tree | da3962dc1af3a4cef31d5879a17fe1aa7c83a8a7 /app/src | |
parent | 7dc9f9e9caf41976d08c967d2d966648c99f929b (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.java | 2 |
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); } |