aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <cbaines8@gmail.com>2012-02-08 14:25:28 +0000
committerChristopher Baines <cbaines8@gmail.com>2012-02-08 14:25:28 +0000
commit1bce569ea81a1033460a0f3ecac32b7a26a9107b (patch)
tree05e1af8f1d121fbc6f7c882971cb92c639a53020
parent409ab7c3e764a877116e7f05dd9fd5a5eaf2ccf0 (diff)
parent72aad0e9de176d41999587166a1914bcf7410e54 (diff)
downloadsouthamptonuniversitymap-1bce569ea81a1033460a0f3ecac32b7a26a9107b.tar
southamptonuniversitymap-1bce569ea81a1033460a0f3ecac32b7a26a9107b.tar.gz
Merge branch 'dev' of github.com:cbaines/SouthamptonUniversityMap into dev
Conflicts: assets/data.db src/net/cbaines/suma/BuildingActivity.java
-rw-r--r--src/net/cbaines/suma/BusStopActivity.java7
-rw-r--r--src/net/cbaines/suma/SouthamptonUniversityMapActivity.java2
2 files changed, 4 insertions, 5 deletions
diff --git a/src/net/cbaines/suma/BusStopActivity.java b/src/net/cbaines/suma/BusStopActivity.java
index b711770..6c46d03 100644
--- a/src/net/cbaines/suma/BusStopActivity.java
+++ b/src/net/cbaines/suma/BusStopActivity.java
@@ -265,11 +265,10 @@ public class BusStopActivity extends OrmLiteBaseActivity<DatabaseHelper> impleme
e.printStackTrace();
}
} else {
-
Log.i(TAG, "Route radio button made " + checked);
-
- displayTimetable(timetable);
-
+ if (timetable != null) { // If there is a timetable to display
+ displayTimetable(timetable);
+ }
}
}
diff --git a/src/net/cbaines/suma/SouthamptonUniversityMapActivity.java b/src/net/cbaines/suma/SouthamptonUniversityMapActivity.java
index 1d99921..4bfb3de 100644
--- a/src/net/cbaines/suma/SouthamptonUniversityMapActivity.java
+++ b/src/net/cbaines/suma/SouthamptonUniversityMapActivity.java
@@ -76,7 +76,7 @@ import com.j256.ormlite.dao.Dao;
public class SouthamptonUniversityMapActivity extends OrmLiteBaseActivity<DatabaseHelper> implements MapViewConstants, Runnable, RouteColorConstants,
OnChildClickListener, OnItemClickListener, OnItemLongClickListener, OnSharedPreferenceChangeListener, Preferences {
- private boolean useBundledDatabase = true;
+ private boolean useBundledDatabase = false;
private MapView mapView;
private MapController mapController;