summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2015-01-21 17:23:50 +0100
committerParménides GV <parmegv@sdf.org>2015-01-21 17:23:50 +0100
commit76447c684506f2191a3b08ce5ac9434a35a7ad29 (patch)
tree0b19fd508aba69e44bf98257246f9d11f62c23ca
parentf349ff7beeb789209179422d875da1f7e3d9f03d (diff)
Gateway to ProfileManager if recovering from prefs
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/eip/GatewaysManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/eip/GatewaysManager.java b/app/src/main/java/se/leap/bitmaskclient/eip/GatewaysManager.java
index b1aa5a2f..401cd701 100644
--- a/app/src/main/java/se/leap/bitmaskclient/eip/GatewaysManager.java
+++ b/app/src/main/java/se/leap/bitmaskclient/eip/GatewaysManager.java
@@ -72,7 +72,7 @@ public class GatewaysManager {
if(gateways_list != null) {
for (Gateway gateway : gateways_list)
- removeDuplicatedGateway(gateway);
+ addGateway(gateway);
this.gateways.addAll(gateways_list);
} else
Log.d("GatewaysManager", "No gateways added");