Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2016-07-26 01:09:32 +02:00
commit f730057958

View file

@ -398,8 +398,10 @@ public class RouteInfoWidgetsFactory {
}
mx = ro.getMaximumSpeed(direction);
}
} else {
} else if (rh != null) {
mx = rh.getCurrentMaxSpeed();
} else {
mx = 0f;
}
if (cachedSpeed != mx) {
cachedSpeed = mx;