From ee0b703c920f524d44ec51893548338f3c06e552 Mon Sep 17 00:00:00 2001 From: vshcherb Date: Tue, 6 Aug 2013 22:49:39 +0200 Subject: [PATCH] Update RouteCalculationResult.java --- .../src/net/osmand/plus/routing/RouteCalculationResult.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/routing/RouteCalculationResult.java b/OsmAnd/src/net/osmand/plus/routing/RouteCalculationResult.java index cf487add9d..e0bd9a659d 100644 --- a/OsmAnd/src/net/osmand/plus/routing/RouteCalculationResult.java +++ b/OsmAnd/src/net/osmand/plus/routing/RouteCalculationResult.java @@ -837,7 +837,7 @@ public class RouteCalculationResult { while(aInfo < alarmInfo.size()) { AlarmInfo inf = alarmInfo.get(aInfo); int d = dist - listDistance[inf.locationIndex]; - if(d > 700){ + if(d > 250){ break; } float time = speed > 0 ? d / speed : Integer.MAX_VALUE; @@ -928,4 +928,4 @@ public class RouteCalculationResult { private int directionInfoInd; } -} \ No newline at end of file +}