aboutsummaryrefslogtreecommitdiff
path: root/src/net/cbaines/suma
diff options
context:
space:
mode:
authorChristopher Baines <cbaines8@gmail.com>2012-02-08 12:26:56 +0000
committerChristopher Baines <cbaines8@gmail.com>2012-02-08 12:26:56 +0000
commitcccc62990e9b3736d7b5b86acd7acf7dcd8de8c3 (patch)
tree01f88a5b27751142b89d7f474777305f7ea942d5 /src/net/cbaines/suma
parent72aad0e9de176d41999587166a1914bcf7410e54 (diff)
downloadsouthamptonuniversitymap-cccc62990e9b3736d7b5b86acd7acf7dcd8de8c3.tar
southamptonuniversitymap-cccc62990e9b3736d7b5b86acd7acf7dcd8de8c3.tar.gz
Moved the route movement stuff to a branch.
Diffstat (limited to 'src/net/cbaines/suma')
-rw-r--r--src/net/cbaines/suma/BusStopActivity.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/cbaines/suma/BusStopActivity.java b/src/net/cbaines/suma/BusStopActivity.java
index 6c46d03..1f99b8a 100644
--- a/src/net/cbaines/suma/BusStopActivity.java
+++ b/src/net/cbaines/suma/BusStopActivity.java
@@ -334,7 +334,7 @@ public class BusStopActivity extends OrmLiteBaseActivity<DatabaseHelper> impleme
@Override
public boolean onOptionsItemSelected(MenuItem item) {
// Handle item selection
- if (false) { // (item.getItemId() == R.id.menu_previous_stop || item.getItemId() == R.id.menu_next_stop) {
+ if (item.getItemId() == R.id.menu_previous_stop || item.getItemId() == R.id.menu_next_stop) {
Log.v(TAG, "Got a request for the stop movement");
Log.v(TAG, routes.size() + " routes avalible from this stop");
@@ -343,7 +343,7 @@ public class BusStopActivity extends OrmLiteBaseActivity<DatabaseHelper> impleme
for (BusRoute route : routes) {
try {
- if (false) { // (item.getItemId() == R.id.menu_next_stop) {
+ if (item.getItemId() == R.id.menu_next_stop) {
busStops.add(route.moveInRoute(this, getHelper().getBusStopDao().queryForId(busStopID), null, 1));
} else {
busStops.add(route.moveInRoute(this, getHelper().getBusStopDao().queryForId(busStopID), null, -1));