adjust tabs for debugging

This commit is contained in:
sonora 2012-02-16 01:58:10 +01:00
parent e1bb967951
commit d813bb716e

View file

@ -688,8 +688,7 @@ public class MapActivity extends TrackedActivity implements IMapLocationListener
updateSpeedBearing(location);
mapLayers.getLocationLayer().setLastKnownLocation(location);
if(routingHelper.isFollowingMode()){
if(location == null ||
!location.hasAccuracy() || location.getAccuracy() < ACCURACY_FOR_GPX_AND_ROUTING) {
if(location == null || !location.hasAccuracy() || location.getAccuracy() < ACCURACY_FOR_GPX_AND_ROUTING) {
// Update routing position
routingHelper.setCurrentLocation(location);
// Check with delay that gps location is not lost