Missing TODO
This commit is contained in:
parent
7107443b09
commit
4c6c6a5d51
1 changed files with 7 additions and 7 deletions
|
@ -411,7 +411,7 @@ public class VoiceRouter {
|
|||
int dist = nextInfo.distanceTo;
|
||||
RouteDirectionInfo next = nextInfo.directionInfo;
|
||||
|
||||
// if routing is changed update status to unknown
|
||||
// If routing is changed update status to unknown
|
||||
if (next != nextRouteDirection) {
|
||||
nextRouteDirection = next;
|
||||
currentStatus = STATUS_UNKNOWN;
|
||||
|
@ -432,7 +432,7 @@ public class VoiceRouter {
|
|||
}
|
||||
}
|
||||
|
||||
// Tell goAhead distance after route calculation if no otherprompt is due, or after a turn if next turn is more than PREPARE_LONG_DISTANCE away
|
||||
// TODO: Tell goAhead distance after route calculation if no other prompt is due, or after a turn if next turn is more than PREPARE_LONG_DISTANCE away
|
||||
if (currentStatus == STATUS_UNKNOWN) {
|
||||
if (!isDistanceLess(speed, dist, TURN_IN_DISTANCE * 1.3, 0f)) {
|
||||
playGoAheadDist = dist - 80;
|
||||
|
|
Loading…
Reference in a new issue