try fix bug with orphaned "and arrive at your destination" prompt.
This commit is contained in:
parent
331da7fb20
commit
a0f7a24d7e
1 changed files with 1 additions and 1 deletions
|
@ -442,9 +442,9 @@ public class VoiceRouter {
|
|||
// do not play prepare for keep left/right
|
||||
} else {
|
||||
playPrepareTurn(currentSegment, next, dist);
|
||||
}
|
||||
playAndArriveAtDestination(repeat, nextInfo, currentSegment);
|
||||
}
|
||||
}
|
||||
nextStatusAfter(STATUS_PREPARE);
|
||||
// } else if (statusNotPassed(STATUS_LONG_PREPARE) && isDistanceLess(speed, dist, PREPARE_LONG_DISTANCE)){
|
||||
} else if ((repeat || statusNotPassed(STATUS_LONG_PREPARE)) && (dist <= PREPARE_LONG_DISTANCE)) {
|
||||
|
|
Loading…
Reference in a new issue