From 0222df37d072fd6529dfe2cce1f857834ccbd02e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Parm=C3=A9nides=20GV?= Date: Wed, 13 Feb 2013 20:40:58 +0100 Subject: Solves Issue #1757. The problem was that ProviderItem.custom was not being set by the constructor, and when using this variable from ConfigurationWizard to get providers.json from http or from assets file. --- src/se/leap/leapclient/ProviderListContent.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/se/leap/leapclient/ProviderListContent.java') diff --git a/src/se/leap/leapclient/ProviderListContent.java b/src/se/leap/leapclient/ProviderListContent.java index 5fe206eb..d475d368 100644 --- a/src/se/leap/leapclient/ProviderListContent.java +++ b/src/se/leap/leapclient/ProviderListContent.java @@ -66,6 +66,7 @@ public class ProviderListContent { provider_json_assets = (String) file_contents.get("assets_json_provider"); eip_service_json_url = (String) file_contents.get("json_eip_service"); cert_json_url = (String) file_contents.get("cert"); + this.custom = custom; } catch (JSONException e) { // TODO Auto-generated catch block e.printStackTrace(); @@ -86,6 +87,7 @@ public class ProviderListContent { this.name = name; eip_service_json_url = (String) file_contents.get("api_uri") + ConfigHelper.eip_service_api_path; cert_json_url = (String) file_contents.get("ca_cert_uri"); + this.custom = custom; } catch (JSONException e) { // TODO Auto-generated catch block e.printStackTrace(); -- cgit v1.2.3