Skip to content

Commit

Permalink
Move adding of arrival listener
Browse files Browse the repository at this point in the history
  • Loading branch information
danesfeder committed Dec 4, 2017
1 parent 8b8508e commit 04ed423
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ public void onDeparture(Location location, RouteProgress routeProgress) {
}
if (!isConfigurationChange) {
NavigationMetricsWrapper.departEvent(navigationSessionState, metricProgress, metricLocation.getLocation());
// Add the arrival listener
eventDispatcher.addMetricArrivalListener(this);
}
// Add the arrival listener
eventDispatcher.addMetricArrivalListener(this);
}

@Override
Expand Down

0 comments on commit 04ed423

Please sign in to comment.