diff options
author | Christopher Baines <cbaines8@gmail.com> | 2012-02-08 12:26:56 +0000 |
---|---|---|
committer | Christopher Baines <cbaines8@gmail.com> | 2012-02-08 12:26:56 +0000 |
commit | cccc62990e9b3736d7b5b86acd7acf7dcd8de8c3 (patch) | |
tree | 01f88a5b27751142b89d7f474777305f7ea942d5 /src/net/cbaines/suma | |
parent | 72aad0e9de176d41999587166a1914bcf7410e54 (diff) | |
download | southamptonuniversitymap-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.java | 4 |
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)); |