Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2015-01-10 18:16:41 +01:00
commit d2ebea7f16

View file

@ -254,7 +254,7 @@ public class RoutingHelper {
boolean calculateRoute = false;
synchronized (this) {
// 0. Route empty or needs to be extended? Then re-calculate route.
if(route.isEmpty()) {
if(route.isEmpty() || (settings.getPointToStart() != null)) {
calculateRoute = true;
} else {
// 1. Update current route position status according to latest received location