remove obsolete comments
This commit is contained in:
parent
03e15da76d
commit
dce47b6744
1 changed files with 4 additions and 9 deletions
|
@ -150,15 +150,10 @@ public class RouteInfoWidgetsFactory {
|
|||
NextDirectionInfo r = routingHelper.getNextRouteDirectionInfo(calc1, true);
|
||||
if (!deviatedFromRoute) {
|
||||
if (r != null) {
|
||||
// next turn is very close (show next next with false to speak)
|
||||
// if (r.imminent >= 0 && r.imminent < 2) {
|
||||
// r = routingHelper.getNextRouteDirectionInfoAfter(r, calc1, false);
|
||||
// } else {
|
||||
r = routingHelper.getNextRouteDirectionInfo(calc1, true);
|
||||
if (r != null) {
|
||||
r = routingHelper.getNextRouteDirectionInfoAfter(r, calc1, true);
|
||||
}
|
||||
// }
|
||||
r = routingHelper.getNextRouteDirectionInfo(calc1, true);
|
||||
if (r != null) {
|
||||
r = routingHelper.getNextRouteDirectionInfoAfter(r, calc1, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (r != null && r.distanceTo > 0&& r.directionInfo != null) {
|
||||
|
|
Loading…
Reference in a new issue