diff options
author | Christopher Baines <cbaines8@gmail.com> | 2012-02-17 20:50:17 +0000 |
---|---|---|
committer | Christopher Baines <cbaines8@gmail.com> | 2012-02-17 20:50:17 +0000 |
commit | 190cb3c6a16d6c65764f18afd5f5f19f1a912aac (patch) | |
tree | bbc997b60a30ea92568142db57de897c9ca49c16 /src/net/cbaines/suma/BusStopOverlay.java | |
parent | fd428ee33771a7bf95abad4d2e7beb882a368d41 (diff) | |
download | southamptonuniversitymap-190cb3c6a16d6c65764f18afd5f5f19f1a912aac.tar southamptonuniversitymap-190cb3c6a16d6c65764f18afd5f5f19f1a912aac.tar.gz |
Fixed a bug with dest stop detection, and added a safeguard on the bus activity.
Diffstat (limited to 'src/net/cbaines/suma/BusStopOverlay.java')
-rw-r--r-- | src/net/cbaines/suma/BusStopOverlay.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/cbaines/suma/BusStopOverlay.java b/src/net/cbaines/suma/BusStopOverlay.java index 58f5bb0..6ef956b 100644 --- a/src/net/cbaines/suma/BusStopOverlay.java +++ b/src/net/cbaines/suma/BusStopOverlay.java @@ -226,7 +226,7 @@ public class BusStopOverlay extends Overlay implements RouteColorConstants { public boolean onDoubleTap(final MotionEvent event, final MapView mapView) { - Log.v(TAG, "Pointer count for onDoubleTap is " + event.getPointerCount() + " " + event.getAction()); + Log.v(TAG, "Pointer count for onDoubleTap is " + event.getPointerCount() + " " + event.getAction() + " " + event.describeContents()); if (event.getPointerCount() != 1) { Log.v(TAG, "Pointer count for onDoubleTap not 1, ignoring"); return false; @@ -254,7 +254,7 @@ public class BusStopOverlay extends Overlay implements RouteColorConstants { @Override public boolean onLongPress(final MotionEvent event, final MapView mapView) { - Log.v(TAG, "Pointer count for onLongPress is " + event.getPointerCount() + " " + event.getAction()); + Log.v(TAG, "Pointer count for onLongPress is " + event.getPointerCount() + " " + event.getAction() + " " + event.describeContents()); if (event.getPointerCount() != 1) { Log.v(TAG, "Pointer count for onLongPress not 1, ignoring"); return false; |