summaryrefslogtreecommitdiff
path: root/app/src/main/java/se
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/se')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/ProviderListBaseActivity.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/ProviderListBaseActivity.java b/app/src/main/java/se/leap/bitmaskclient/ProviderListBaseActivity.java
index d3133bec..cc8aceec 100644
--- a/app/src/main/java/se/leap/bitmaskclient/ProviderListBaseActivity.java
+++ b/app/src/main/java/se/leap/bitmaskclient/ProviderListBaseActivity.java
@@ -201,7 +201,7 @@ public abstract class ProviderListBaseActivity extends ConfigWizardBaseActivity
this.provider.setMainUrl(newUrl);
showAndSelectProvider(newUrl);
} else {
- stopSettingUpProvider();
+ cancelSettingUpProvider();
}
}
}
@@ -291,16 +291,12 @@ public abstract class ProviderListBaseActivity extends ConfigWizardBaseActivity
public void onBackPressed() {
if (SETTING_UP_PROVIDER.equals(configState.getAction()) ||
SHOW_FAILED_DIALOG.equals(configState.getAction())) {
- stopSettingUpProvider();
+ cancelSettingUpProvider();
} else {
super.onBackPressed();
}
}
- private void stopSettingUpProvider() {
- cancelSettingUpProvider();
- }
-
@Override
public void cancelSettingUpProvider() {
configState.setAction(PROVIDER_NOT_SET);