summaryrefslogtreecommitdiff
path: root/app/src/production
diff options
context:
space:
mode:
authorfupduck <fupduck@riseup.net>2018-02-21 09:26:43 -0800
committerfupduck <fupduck@riseup.net>2018-02-21 09:26:43 -0800
commit48846a44f70be665e39abe5ce56a85f36c542544 (patch)
tree99c999adc8e64c3c3366a47c3d2f28d90f45ac15 /app/src/production
parent420792c833f0ad6ecf55824fd8d9bb5d7eaa2aed (diff)
parent8e23cc34861f1b9fe5e04cdcf24563ffedf568b0 (diff)
Merge branch '#8858_persist_custom_providers' into '0.9.8'
#8858 persist custom providers See merge request leap/bitmask_android!47
Diffstat (limited to 'app/src/production')
-rw-r--r--app/src/production/java/se/leap/bitmaskclient/ProviderListActivity.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/src/production/java/se/leap/bitmaskclient/ProviderListActivity.java b/app/src/production/java/se/leap/bitmaskclient/ProviderListActivity.java
index b6e67331..cf1d1aa6 100644
--- a/app/src/production/java/se/leap/bitmaskclient/ProviderListActivity.java
+++ b/app/src/production/java/se/leap/bitmaskclient/ProviderListActivity.java
@@ -39,11 +39,10 @@ public class ProviderListActivity extends ProviderListBaseActivity {
setUpProvider();
}
+ @Override
public void showAndSelectProvider(String provider_main_url) {
try {
provider = new Provider(new URL((provider_main_url)));
- adapter.add(provider);
- adapter.saveProviders();
autoSelectProvider(provider);
} catch (MalformedURLException e) {
e.printStackTrace();