Fixed arrival estimate inaccuracies for end of line stations
This commit is contained in:
parent
311adc9efc
commit
6e11ad7afb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user