summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyberta <cyberta@riseup.net>2021-04-22 20:41:13 +0000
committercyberta <cyberta@riseup.net>2021-04-22 20:41:13 +0000
commit48bd56b48c96cc62557675a82ac0ca1865f9aa8e (patch)
treeecfb2aca1b33d525d63907b46d42aea5ead2513b
parent5965243bac44c895a1fe6b7b6a799fb415732b79 (diff)
parent4c83b17af0306239636c080cf8d6d3ed01d1ff0b (diff)
Merge branch 'fix_void_vpn_notification' into 'master'
fix app crash on void vpn service start Closes #9034 See merge request leap/bitmask_android!134
-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
);
}