From 0977dcb66048d3039d6ff84b8d484ec90cf1c38e Mon Sep 17 00:00:00 2001 From: cyBerta Date: Fri, 13 Dec 2019 13:55:37 +0100 Subject: reset UI State if blocking VPN was finished --- app/src/main/java/se/leap/bitmaskclient/eip/VoidVpnService.java | 1 + 1 file changed, 1 insertion(+) (limited to 'app/src/main/java/se/leap') 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 f6e3df7c..78deea0b 100644 --- a/app/src/main/java/se/leap/bitmaskclient/eip/VoidVpnService.java +++ b/app/src/main/java/se/leap/bitmaskclient/eip/VoidVpnService.java @@ -107,6 +107,7 @@ public class VoidVpnService extends VpnService implements Observer, VpnNotificat thread.interrupt(); } closeFd(); + VpnStatus.updateStateString("NOPROCESS", "BLOCKING VPN STOPPED", R.string.state_noprocess, ConnectionStatus.LEVEL_NOTCONNECTED); } public static boolean isRunning() throws NullPointerException { -- cgit v1.2.3