Waypoints announcement initialization fix

This commit is contained in:
Igor B. Poretsky 2017-01-16 19:04:57 +03:00
parent 5fb0bbd9f9
commit be1296db11

View file

@ -443,7 +443,7 @@ public class WaypointHelper {
}
public void clearAllVisiblePoints() {
//this.locationPointsStates.clear();
this.locationPointsStates.clear();
this.locationPoints = new ArrayList<List<LocationPointWrapper>>();
}
@ -532,7 +532,7 @@ public class WaypointHelper {
protected synchronized void setLocationPoints(List<List<LocationPointWrapper>> locationPoints, RouteCalculationResult route) {
this.locationPoints = locationPoints;
//this.locationPointsStates.clear();
this.locationPointsStates.clear();
TIntArrayList list = new TIntArrayList(locationPoints.size());
list.fill(0, locationPoints.size(), 0);
this.pointsProgress = list;