diff options
author | cyBerta <cyberta@riseup.net> | 2019-12-13 13:55:37 +0100 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2019-12-13 14:03:57 +0100 |
commit | 0977dcb66048d3039d6ff84b8d484ec90cf1c38e (patch) | |
tree | 91866382f02b9bf0f8df652b2fa71fcf6bd73040 | |
parent | d0d3f1b9d082308626c6a34d5b8d530de654ead4 (diff) |
reset UI State if blocking VPN was finished
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/eip/VoidVpnService.java | 1 |
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 { |