diff options
author | cyBerta <cyberta@riseup.net> | 2018-07-21 11:26:54 +0200 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2018-07-21 11:26:54 +0200 |
commit | 9b50dcae236f9f93d24f7991df4d7acf64219b73 (patch) | |
tree | a80cd6236c8931899de9fc4bdfedca9b010a8d87 /app/src | |
parent | f875a4d721ccbb283c7d1b13ad761a2c476354c7 (diff) |
#8886 remove unnecessary method
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/ProviderListBaseActivity.java | 8 |
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); |