From be1296db11fde0178d69136c05ee8228ca58c6b0 Mon Sep 17 00:00:00 2001 From: "Igor B. Poretsky" Date: Mon, 16 Jan 2017 19:04:57 +0300 Subject: [PATCH] Waypoints announcement initialization fix --- OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java b/OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java index 136684663b..98f3b72c74 100644 --- a/OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java +++ b/OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java @@ -443,7 +443,7 @@ public class WaypointHelper { } public void clearAllVisiblePoints() { - //this.locationPointsStates.clear(); + this.locationPointsStates.clear(); this.locationPoints = new ArrayList>(); } @@ -532,7 +532,7 @@ public class WaypointHelper { protected synchronized void setLocationPoints(List> 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;