From 8566f7c6f3a5ee3eb668964e3dffb4a753db5b38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Parm=C3=A9nides=20GV?= Date: Tue, 7 Oct 2014 21:33:55 +0200 Subject: Finish VoidVpnLauncher activity. It was remaining there, with an empty layout. --- app/src/main/java/se/leap/bitmaskclient/VoidVpnLauncher.java | 3 ++- app/src/main/java/se/leap/bitmaskclient/VoidVpnService.java | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'app') diff --git a/app/src/main/java/se/leap/bitmaskclient/VoidVpnLauncher.java b/app/src/main/java/se/leap/bitmaskclient/VoidVpnLauncher.java index 23e61eab..3b286fbf 100644 --- a/app/src/main/java/se/leap/bitmaskclient/VoidVpnLauncher.java +++ b/app/src/main/java/se/leap/bitmaskclient/VoidVpnLauncher.java @@ -7,7 +7,7 @@ import android.os.Bundle; public class VoidVpnLauncher extends Activity { - private static final int VPN_USER_PERMISSION= 71; + private static final int VPN_USER_PERMISSION = 71; @Override protected void onCreate(Bundle savedInstanceState) { @@ -32,5 +32,6 @@ public class VoidVpnLauncher extends Activity { startService(void_vpn_service); } } + finish(); } } diff --git a/app/src/main/java/se/leap/bitmaskclient/VoidVpnService.java b/app/src/main/java/se/leap/bitmaskclient/VoidVpnService.java index 5f7c0ab1..b7289c23 100644 --- a/app/src/main/java/se/leap/bitmaskclient/VoidVpnService.java +++ b/app/src/main/java/se/leap/bitmaskclient/VoidVpnService.java @@ -24,6 +24,7 @@ public class VoidVpnService extends VpnService { public void blockConnections() { Builder builder = new Builder(); + builder.setSession("Blocking until running"); builder.addAddress("10.42.0.8",16); builder.addRoute("0.0.0.0", 1); builder.addRoute("128.0.0.0", 1); -- cgit v1.2.3