remove obsolete code
This commit is contained in:
parent
4f2c9931dd
commit
8a43f27110
1 changed files with 1 additions and 4 deletions
|
@ -150,10 +150,7 @@ public class RouteInfoWidgetsFactory {
|
|||
NextDirectionInfo r = routingHelper.getNextRouteDirectionInfo(calc1, true);
|
||||
if (!deviatedFromRoute) {
|
||||
if (r != null) {
|
||||
r = routingHelper.getNextRouteDirectionInfo(calc1, true);
|
||||
if (r != null) {
|
||||
r = routingHelper.getNextRouteDirectionInfoAfter(r, calc1, true);
|
||||
}
|
||||
r = routingHelper.getNextRouteDirectionInfoAfter(r, calc1, true);
|
||||
}
|
||||
}
|
||||
if (r != null && r.distanceTo > 0 && r.directionInfo != null) {
|
||||
|
|
Loading…
Reference in a new issue