summaryrefslogtreecommitdiff
path: root/src/se/leap/bitmaskclient/Provider.java
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2013-10-14 15:52:38 +0200
committerParménides GV <parmegv@sdf.org>2013-12-09 19:18:40 +0100
commit8a5be8fb481beaad45779909e726fb884476b4da (patch)
tree56bb340a35eb000ad903eb2e4364b3bac25f62d9 /src/se/leap/bitmaskclient/Provider.java
parent7f351332e7f308b52bbdded5e3df6a9c2c0d01e3 (diff)
Provider setup: One method downloads everything.
This method uses another 3 to download each file. Next step: broadcast progress and remove unnecessary methods.
Diffstat (limited to 'src/se/leap/bitmaskclient/Provider.java')
-rw-r--r--src/se/leap/bitmaskclient/Provider.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/se/leap/bitmaskclient/Provider.java b/src/se/leap/bitmaskclient/Provider.java
index f36e5946..598999fd 100644
--- a/src/se/leap/bitmaskclient/Provider.java
+++ b/src/se/leap/bitmaskclient/Provider.java
@@ -99,7 +99,7 @@ public final class Provider implements Serializable {
preferences = activity.getSharedPreferences(Dashboard.SHARED_PREFERENCES,Context.MODE_PRIVATE);
// Inflate our provider.json data
try {
- definition = new JSONObject( preferences.getString("provider", "") );
+ definition = new JSONObject( preferences.getString(Provider.KEY, "") );
} catch (JSONException e) {
// TODO: handle exception