From 9b50dcae236f9f93d24f7991df4d7acf64219b73 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Sat, 21 Jul 2018 11:26:54 +0200 Subject: #8886 remove unnecessary method --- .../main/java/se/leap/bitmaskclient/ProviderListBaseActivity.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'app/src') 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); -- cgit v1.2.3