diff options
author | Christopher Baines <cbaines8@gmail.com> | 2012-02-08 14:25:28 +0000 |
---|---|---|
committer | Christopher Baines <cbaines8@gmail.com> | 2012-02-08 14:25:28 +0000 |
commit | 1bce569ea81a1033460a0f3ecac32b7a26a9107b (patch) | |
tree | 05e1af8f1d121fbc6f7c882971cb92c639a53020 | |
parent | 409ab7c3e764a877116e7f05dd9fd5a5eaf2ccf0 (diff) | |
parent | 72aad0e9de176d41999587166a1914bcf7410e54 (diff) | |
download | southamptonuniversitymap-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.java | 7 | ||||
-rw-r--r-- | src/net/cbaines/suma/SouthamptonUniversityMapActivity.java | 2 |
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; |