diff options
author | Parménides GV <parmegv@sdf.org> | 2013-05-01 18:41:05 +0200 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2013-05-01 18:41:05 +0200 |
commit | ff3d469a9549e3670e097fc0e49c043c84e7b7d4 (patch) | |
tree | 9fb747e05841020f11d062a86df86bdcdd85e689 /src/se/leap/leapclient/Dashboard.java | |
parent | 09493a9dec5fb235d5c4914eb8f8142e3312e246 (diff) |
If the app is restarted with a custom provider selected, the client can
request a log in without certificates problems.
I've removed the addition of the certificate when downloaded
eip-service.json, because I already do that in LeapHttpClient.
Solves issue 2367: https://leap.se/code/issues/2367
Diffstat (limited to 'src/se/leap/leapclient/Dashboard.java')
-rw-r--r-- | src/se/leap/leapclient/Dashboard.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/se/leap/leapclient/Dashboard.java b/src/se/leap/leapclient/Dashboard.java index 577092bb..a68c048b 100644 --- a/src/se/leap/leapclient/Dashboard.java +++ b/src/se/leap/leapclient/Dashboard.java @@ -43,7 +43,9 @@ public class Dashboard extends Activity implements LogInDialog.LogInDialogInterf setContentView(R.layout.client_dashboard); preferences = getSharedPreferences(ConfigHelper.PREFERENCES_KEY,MODE_PRIVATE); - + if(ConfigHelper.shared_preferences == null) + ConfigHelper.setSharedPreferences(preferences); + // Check if we have preferences, run configuration wizard if not // TODO We should do a better check for config that this! if (!preferences.contains("provider") ) |