From f875a4d721ccbb283c7d1b13ad761a2c476354c7 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Mon, 9 Jul 2018 00:11:47 +0200 Subject: #8886 hide progress screen if adding a new provider failed --- app/src/main/java/se/leap/bitmaskclient/ProviderListBaseActivity.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/src/main') 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(); } -- cgit v1.2.3