Fixed arrival estimate inaccuracies for end of line stations

This commit is contained in:
dkeen@dkeen-laptop 2012-04-30 14:29:40 -07:00
parent 311adc9efc
commit 6e11ad7afb

View File

@ -428,7 +428,9 @@ public class ViewDeparturesActivity extends ListActivity {
} else if (departTimeDiff <= (equalityTolerance + departure
.getUncertaintySeconds() * 1000)
&& departure.getEstimatedTripTime() != trip
.getTripLength()) {
.getTripLength()
&& !(departure.getOrigin().longStationLinger && departure
.hasDeparted())) {
departure.setEstimatedTripTime(trip.getTripLength());
lastSearchIndex = i;
departureUpdated = true;