summaryrefslogtreecommitdiff
path: root/src/se/leap/leapclient/Dashboard.java
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2013-02-01 00:13:09 +0100
committerParménides GV <parmegv@sdf.org>2013-02-01 00:13:09 +0100
commit7b9e22e765a1e5eda05ad121684e63c20ff5f049 (patch)
tree48d8713ac48a309b356dcb9414a69a4af9ecf9e8 /src/se/leap/leapclient/Dashboard.java
parent92c32b0b96938009af55ed28920472f22a4614ee (diff)
I have a handshake failing within an HTTP connection in order to get the
eip-service.json file. provider.json downloads and parses itself OK to SharedPreferences. It also does not link OK to the Dashboard, I do not know how to do it properly and I'm so tired (eyes hurting). Beginning with security things :) Happy to have gotten around DownloadManager problem with a simple HTTP connection.
Diffstat (limited to 'src/se/leap/leapclient/Dashboard.java')
-rw-r--r--src/se/leap/leapclient/Dashboard.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/se/leap/leapclient/Dashboard.java b/src/se/leap/leapclient/Dashboard.java
index 84ddab27..f81c37a7 100644
--- a/src/se/leap/leapclient/Dashboard.java
+++ b/src/se/leap/leapclient/Dashboard.java
@@ -37,7 +37,8 @@ public class Dashboard extends Activity {
preferences = getPreferences(MODE_PRIVATE);
// FIXME provider data!! get parmegv's work so we can stop (or lessen) faking it
- if (preferences.contains("provider") )
+ //TODO In my emulator, I always get that contains TRUE. Don't know why, but I've been testing without the "!".
+ if (!preferences.contains("provider") )
startActivity(new Intent(this, ProviderListActivity.class));
// Get our provider