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-10 18:10:09 +0100
commit718857cc244a778ba56f96b0bcf05dc22407f414 (patch)
tree56bb340a35eb000ad903eb2e4364b3bac25f62d9 /src/se/leap/bitmaskclient/Provider.java
parent66a147efac201c8088fee98f26e02e3bd8979fab (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