fix small issue in voice router where destination would have been pre-announced twice
This commit is contained in:
parent
a3a9b4219c
commit
d55b96f277
1 changed files with 1 additions and 1 deletions
|
@ -468,7 +468,7 @@ public class VoiceRouter {
|
|||
} else {
|
||||
playMakeTurn(currentSegment, next, null);
|
||||
}
|
||||
if (nextNextInfo.distanceTo < TURN_IN_DISTANCE && isTargetPoint(nextNextInfo)) {
|
||||
if (nextNextInfo.distanceTo < TURN_IN_DISTANCE_END && isTargetPoint(nextNextInfo)) {
|
||||
if (!next.getTurnType().goAhead()) { // Avoids isolated "and arrive.." prompt
|
||||
playAndArriveAtDestination(nextNextInfo);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue