summaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2018-07-09 00:11:47 +0200
committercyBerta <cyberta@riseup.net>2018-07-09 00:11:47 +0200
commitf875a4d721ccbb283c7d1b13ad761a2c476354c7 (patch)
tree257e62e959723895c49bc843cbf96aaca16a69a7 /app/src/main
parenteef1c8560c9eceb956717fd000e885d2421080f9 (diff)
#8886 hide progress screen if adding a new provider failed
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/ProviderListBaseActivity.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/ProviderListBaseActivity.java b/app/src/main/java/se/leap/bitmaskclient/ProviderListBaseActivity.java
index 0e1ecae9..d3133bec 100644
--- a/app/src/main/java/se/leap/bitmaskclient/ProviderListBaseActivity.java
+++ b/app/src/main/java/se/leap/bitmaskclient/ProviderListBaseActivity.java
@@ -200,6 +200,8 @@ public abstract class ProviderListBaseActivity extends ConfigWizardBaseActivity
String newUrl = data.getStringExtra(AddProviderActivity.EXTRAS_KEY_NEW_URL);
this.provider.setMainUrl(newUrl);
showAndSelectProvider(newUrl);
+ } else {
+ stopSettingUpProvider();
}
}
}
@@ -241,7 +243,6 @@ public abstract class ProviderListBaseActivity extends ConfigWizardBaseActivity
}
void handleProviderSetupFailed(Bundle resultData) {
-
reasonToFail = resultData.getString(ERRORS);
showDownloadFailedDialog();
}