diff options
author | cyberta <cyberta@riseup.net> | 2021-04-22 22:17:24 +0200 |
---|---|---|
committer | cyberta <cyberta@riseup.net> | 2021-04-22 22:17:24 +0200 |
commit | 4c83b17af0306239636c080cf8d6d3ed01d1ff0b (patch) | |
tree | ecfb2aca1b33d525d63907b46d42aea5ead2513b | |
parent | 5965243bac44c895a1fe6b7b6a799fb415732b79 (diff) |
fix app crash on void vpn service start
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/eip/VoidVpnService.java | 4 |
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 ); } |