summaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorcyberta <cyberta@riseup.net>2021-04-22 22:17:24 +0200
committercyberta <cyberta@riseup.net>2021-04-22 22:17:24 +0200
commit4c83b17af0306239636c080cf8d6d3ed01d1ff0b (patch)
treeecfb2aca1b33d525d63907b46d42aea5ead2513b /app/src/main/java
parent5965243bac44c895a1fe6b7b6a799fb415732b79 (diff)
fix app crash on void vpn service start
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/eip/VoidVpnService.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/eip/VoidVpnService.java b/app/src/main/java/se/leap/bitmaskclient/eip/VoidVpnService.java
index 35d2b376..645d7b26 100644
--- a/app/src/main/java/se/leap/bitmaskclient/eip/VoidVpnService.java
+++ b/app/src/main/java/se/leap/bitmaskclient/eip/VoidVpnService.java
@@ -221,13 +221,13 @@ public class VoidVpnService extends VpnService implements Observer, VpnNotificat
}
public void startWithForegroundNotification() {
- notificationManager.createOpenVpnNotificationChannel();
+ notificationManager.createVoidVpnNotificationChannel();
String message = getString(R.string.state_disconnected);
notificationManager.buildVoidVpnNotification(
message,
message,
eipStatus.getLevel(),
- this::onNotificationBuild
+ this
);
}