From 4c83b17af0306239636c080cf8d6d3ed01d1ff0b Mon Sep 17 00:00:00 2001 From: cyberta Date: Thu, 22 Apr 2021 22:17:24 +0200 Subject: fix app crash on void vpn service start --- app/src/main/java/se/leap/bitmaskclient/eip/VoidVpnService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app') 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 ); } -- cgit v1.2.3