diff options
Diffstat (limited to 'app/src/main/java')
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/EipSetupObserver.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/EipSetupObserver.java b/app/src/main/java/se/leap/bitmaskclient/EipSetupObserver.java index 7327c416..92e3e1a4 100644 --- a/app/src/main/java/se/leap/bitmaskclient/EipSetupObserver.java +++ b/app/src/main/java/se/leap/bitmaskclient/EipSetupObserver.java @@ -168,6 +168,7 @@ class EipSetupObserver extends BroadcastReceiver implements VpnStatus.StateListe if (resultCode == RESULT_CANCELED) { //setup failed finishGatewaySetup(false); + EipCommand.stopVPN(context); EipStatus.refresh(); } break; @@ -178,7 +179,6 @@ class EipSetupObserver extends BroadcastReceiver implements VpnStatus.StateListe for (EipSetupListener listener : listeners) { listener.handleEipEvent(intent); } - } private void handleGatewaySetupObserverEvent(Intent event) { |