summaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2014-12-15 20:45:55 +0100
committerParménides GV <parmegv@sdf.org>2014-12-15 20:45:55 +0100
commit9f146deb3448815fccc1637c00588e0dfb23293e (patch)
tree2fef236dab4fa083387aa6741fa83849e4131c14 /app/src
parent8cad9be37713870882541ddd382cb94640142879 (diff)
Delete gateways from profilemanager and from list.
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/eip/EIP.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/eip/EIP.java b/app/src/main/java/se/leap/bitmaskclient/eip/EIP.java
index 0713e521..7db35c17 100644
--- a/app/src/main/java/se/leap/bitmaskclient/eip/EIP.java
+++ b/app/src/main/java/se/leap/bitmaskclient/eip/EIP.java
@@ -195,6 +195,7 @@ public final class EIP extends IntentService {
private void deleteAllVpnProfiles() {
Collection<VpnProfile> profiles = profile_manager.getProfiles();
profiles.removeAll(profiles);
+ gateways.clear();
}
/**