summaryrefslogtreecommitdiff
path: root/src/se/leap/leapclient/ProviderListActivity.java
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2013-02-04 16:35:28 +0100
committerParménides GV <parmegv@sdf.org>2013-02-04 16:35:28 +0100
commitd2bd18ef560d95974117604af899b3a9fcc16dab (patch)
tree96831726c943bcccb104584d4748c5972a43654e /src/se/leap/leapclient/ProviderListActivity.java
parent7b9e22e765a1e5eda05ad121684e63c20ff5f049 (diff)
Created ConfigHelper with static information such as sharedprefs keys,
the saveSharedPrefs method and an unimplemented rescueFromJSONException. Next step: managing HttpsURLConnection for the CertPathValidatorException.
Diffstat (limited to 'src/se/leap/leapclient/ProviderListActivity.java')
-rw-r--r--src/se/leap/leapclient/ProviderListActivity.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/se/leap/leapclient/ProviderListActivity.java b/src/se/leap/leapclient/ProviderListActivity.java
index 9e5796da..088b464d 100644
--- a/src/se/leap/leapclient/ProviderListActivity.java
+++ b/src/se/leap/leapclient/ProviderListActivity.java
@@ -120,11 +120,10 @@ public class ProviderListActivity extends FragmentActivity
Intent provider_API_command = new Intent(this, ProviderAPI.class);
Bundle method_and_parameters = new Bundle();
- method_and_parameters.putString("method", "getAndParseSharedPref");
method_and_parameters.putString("provider", current_provider_item.provider_json_url);
method_and_parameters.putString("eip", current_provider_item.eip_service_json_url);
- provider_API_command.putExtra("downloadJSONFiles", method_and_parameters);
+ provider_API_command.putExtra(ConfigHelper.downloadJsonFilesBundleExtra, method_and_parameters);
startService(provider_API_command);