Show turn info in simulation
This commit is contained in:
parent
4c09ec2ce2
commit
4ba932bb6e
1 changed files with 6 additions and 2 deletions
|
@ -412,7 +412,9 @@ public class RoutingHelper {
|
|||
int toDel = targets.getIntermediatePoints().size() - route.getIntermediatePointsToPass();
|
||||
int currentIndex = toDel - 1;
|
||||
String name = currentIndex < 0 || currentIndex >= ns.size() || ns.get(currentIndex ) == null ? "" : ns.get(currentIndex );
|
||||
if(isFollowingMode) {
|
||||
voiceRouter.arrivedIntermediatePoint(name);
|
||||
}
|
||||
while(toDel > 0) {
|
||||
targets.removeWayPoint(false, 0);
|
||||
toDel--;
|
||||
|
@ -429,7 +431,9 @@ public class RoutingHelper {
|
|||
showMessage(app.getString(R.string.arrived_at_destination));
|
||||
TargetPointsHelper targets = app.getInternalAPI().getTargetPointsHelper();
|
||||
String description = targets.getPointNavigateDescription();
|
||||
if(isFollowingMode) {
|
||||
voiceRouter.arrivedDestinationPoint(description);
|
||||
}
|
||||
clearCurrentRoute(null, null);
|
||||
setRoutePlanningMode(false);
|
||||
app.runInUIThread(new Runnable() {
|
||||
|
|
Loading…
Reference in a new issue