commit
c9f7621592
1 changed files with 21 additions and 19 deletions
|
@ -339,6 +339,7 @@ public class WaypointHelper {
|
|||
pointsProgress.set(type, kIterator);
|
||||
while (kIterator < lp.size()) {
|
||||
LocationPointWrapper lwp = lp.get(kIterator);
|
||||
if (lwp.announce) {
|
||||
if (route.getDistanceToPoint(lwp.routeIndex) > LONG_ANNOUNCE_RADIUS * 2) {
|
||||
break;
|
||||
}
|
||||
|
@ -359,6 +360,7 @@ public class WaypointHelper {
|
|||
locationPointsStates.put(point, ANNOUNCED_ONCE);
|
||||
approachPoints.add(lwp);
|
||||
}
|
||||
}
|
||||
kIterator++;
|
||||
}
|
||||
if (!announcePoints.isEmpty()) {
|
||||
|
|
Loading…
Reference in a new issue