diff options
author | Parménides GV <parmegv@sdf.org> | 2014-10-07 21:33:55 +0200 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2014-10-07 21:33:55 +0200 |
commit | 8566f7c6f3a5ee3eb668964e3dffb4a753db5b38 (patch) | |
tree | 3bc208025109ae95245b3913f10d56f3685e58bd /app/src/main/java/se/leap | |
parent | c4df01ab94c85ecf4a106b187a03e4859a857b1c (diff) |
Finish VoidVpnLauncher activity.
It was remaining there, with an empty layout.
Diffstat (limited to 'app/src/main/java/se/leap')
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/VoidVpnLauncher.java | 3 | ||||
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/VoidVpnService.java | 1 |
2 files changed, 3 insertions, 1 deletions
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); |