query.setTripId(tripBean.getId());
query.setVehicleId(vehicleStatus.getVehicleId());
query.getInclusion().setIncludeTripStatus(true);
TripStatusBean tripStatus = vehicleStatus.getTripStatus();
query.setServiceDate(tripStatus.getServiceDate());
TripDetailsBean tripDetails = _transitDataService.getSingleTripDetails(query);
activity.MonitoredVehicleJourney = SiriUtils.getMonitoredVehicleJourney(
tripDetails, new Date(tripStatus.getServiceDate()),
vehicleStatus.getVehicleId());
if (onwardCalls) {
List<TripStopTimeBean> stopTimes = tripDetails.getSchedule().getStopTimes();
long serviceDateMillis = tripStatus.getServiceDate();
double distance = tripStatus.getDistanceAlongTrip();
if (Double.isNaN(distance)) {
distance = tripStatus.getScheduledDistanceAlongTrip();