summaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorcyberta <cyberta@riseup.net>2022-05-20 15:36:42 +0000
committercyberta <cyberta@riseup.net>2022-05-20 15:36:42 +0000
commitd9948ef54042cac71f14702e508eec8f83041fc2 (patch)
tree6a767acdcad24ca5edc8a269dd9f0be2037b4cfb /app/src/main
parentfb3dae7060cd964f5fb390409f263b85bc4b82bb (diff)
parentddf6a4904291be091b658867045454d796aebae5 (diff)
Merge branch 'fix_tile_service_notifications' into 'master'
fix notifications not disappearing after disconnecting from quick settings tile Closes #9074 See merge request leap/bitmask_android!187
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/eip/VpnNotificationManager.java3
1 files changed, 2 insertions, 1 deletions
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 d2603533..a869210e 100644
--- a/app/src/main/java/se/leap/bitmaskclient/eip/VpnNotificationManager.java
+++ b/app/src/main/java/se/leap/bitmaskclient/eip/VpnNotificationManager.java
@@ -196,7 +196,8 @@ public class VpnNotificationManager {
}
public void cancelAll() {
- compatNotificationManager.cancelAll();
+ compatNotificationManager.cancel(OpenVPNService.NOTIFICATION_CHANNEL_NEWSTATUS_ID.hashCode());
+ compatNotificationManager.cancel(VoidVpnService.NOTIFICATION_CHANNEL_NEWSTATUS_ID.hashCode());
}