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