summaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2019-12-13 13:55:37 +0100
committercyBerta <cyberta@riseup.net>2019-12-13 14:03:57 +0100
commit0977dcb66048d3039d6ff84b8d484ec90cf1c38e (patch)
tree91866382f02b9bf0f8df652b2fa71fcf6bd73040 /app/src/main/java
parentd0d3f1b9d082308626c6a34d5b8d530de654ead4 (diff)
reset UI State if blocking VPN was finished
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/eip/VoidVpnService.java1
1 files changed, 1 insertions, 0 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 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 {