diff options
author | cyBerta <cyberta@riseup.net> | 2022-05-20 17:34:03 +0200 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2022-05-20 17:34:03 +0200 |
commit | ddf6a4904291be091b658867045454d796aebae5 (patch) | |
tree | 14aaa68dc38c13f9bd0a8328609a1a096e707b51 /app | |
parent | 21a94d4dbb3b8a334024255b602be0e7c836198b (diff) |
fix notifications not disappearing after disconnecting from quick settings tile
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/eip/VpnNotificationManager.java | 3 |
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()); } |