diff options
author | l <l.@loddas-MBP.fritz.box> | 2018-04-11 23:08:02 +0200 |
---|---|---|
committer | l <l.@loddas-MBP.fritz.box> | 2018-04-11 23:08:02 +0200 |
commit | 5297bcdd7813f9471f2631b7dee0c21a35c9351a (patch) | |
tree | 742a7006ee895d73697aa38ed4689f109f719cdf /app/src | |
parent | a95567b4bbb2319636a79cc5e8d6a7921df9f4d1 (diff) |
removed deprecated code
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/ProviderListBaseActivity.java | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/ProviderListBaseActivity.java b/app/src/main/java/se/leap/bitmaskclient/ProviderListBaseActivity.java index e0d6e27d..5f73a074 100644 --- a/app/src/main/java/se/leap/bitmaskclient/ProviderListBaseActivity.java +++ b/app/src/main/java/se/leap/bitmaskclient/ProviderListBaseActivity.java @@ -298,27 +298,14 @@ public abstract class ProviderListBaseActivity extends ConfigWizardBaseActivity ProviderAPICommand.execute(this, DOWNLOAD_VPN_CERTIFICATE, provider); } - /** - * Open the new provider dialog - */ - public void addAndSelectNewProvider() { - addAndSelectNewProvider(null); - } /** * Open the new provider dialog - * @param mainUrl - the main url of the provider to add - if null add a new provider */ - public void addAndSelectNewProvider(@Nullable String mainUrl) { + public void addAndSelectNewProvider() { FragmentTransaction fragmentTransaction = fragmentManager.removePreviousFragment(NewProviderDialog.TAG); DialogFragment newFragment = new NewProviderDialog(); - - if (mainUrl != null) { - Bundle data = new Bundle(); - data.putString(Provider.MAIN_URL, mainUrl); - newFragment.setArguments(data); - } newFragment.show(fragmentTransaction, NewProviderDialog.TAG); } |