Missing TODO

This commit is contained in:
sonora 2015-09-05 10:46:51 +02:00
parent 7107443b09
commit 4c6c6a5d51

View file

@ -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;