From 64c08c28dbd1b22451d990559b3f345cfcae05ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Parm=C3=A9nides=20GV?= Date: Wed, 3 Dec 2014 20:49:41 +0100 Subject: Orientation changes always work. --- app/src/debug/java/se/leap/bitmaskclient/ConfigurationWizard.java | 1 + app/src/release/java/se/leap/bitmaskclient/ConfigurationWizard.java | 1 + 2 files changed, 2 insertions(+) diff --git a/app/src/debug/java/se/leap/bitmaskclient/ConfigurationWizard.java b/app/src/debug/java/se/leap/bitmaskclient/ConfigurationWizard.java index e28f758d..7c79c7c7 100644 --- a/app/src/debug/java/se/leap/bitmaskclient/ConfigurationWizard.java +++ b/app/src/debug/java/se/leap/bitmaskclient/ConfigurationWizard.java @@ -101,6 +101,7 @@ implements ProviderListFragment.Callbacks, NewProviderDialogInterface, ProviderD if(savedInstanceState != null) { progressbar_text = savedInstanceState.getString(PROGRESSBAR_TEXT, ""); provider_name = savedInstanceState.getString(Provider.NAME, ""); + selected_provider = getProvider(provider_name); progress = savedInstanceState.getInt(PROGRESSBAR_NUMBER, -1); providerAPI_result_receiver = savedInstanceState.getParcelable(ProviderAPI.RECEIVER_KEY); providerAPI_result_receiver.setReceiver(this); diff --git a/app/src/release/java/se/leap/bitmaskclient/ConfigurationWizard.java b/app/src/release/java/se/leap/bitmaskclient/ConfigurationWizard.java index a25f49f1..9afcf8a1 100644 --- a/app/src/release/java/se/leap/bitmaskclient/ConfigurationWizard.java +++ b/app/src/release/java/se/leap/bitmaskclient/ConfigurationWizard.java @@ -103,6 +103,7 @@ implements ProviderListFragment.Callbacks, NewProviderDialogInterface, ProviderD if ( savedInstanceState != null ) { progressbar_text = savedInstanceState.getString(PROGRESSBAR_TEXT, ""); provider_name = savedInstanceState.getString(Provider.NAME, ""); + selected_provider = getProvider(provider_name); progress = savedInstanceState.getInt(PROGRESSBAR_NUMBER, -1); providerAPI_result_receiver = savedInstanceState.getParcelable(ProviderAPI.RECEIVER_KEY); providerAPI_result_receiver.setReceiver(this); -- cgit v1.2.3