[290 bus/taxi]bus司机端埋点, bus乘客屏轨迹路线优化
This commit is contained in:
@@ -157,8 +157,8 @@ public class BusPassengerModel {
|
|||||||
BusPassengerStation station = stations.get(i);
|
BusPassengerStation station = stations.get(i);
|
||||||
if (station.getDrivingStatus() == STATION_STATUS_STOPPED && station.isLeaving() && i+1 < stations.size()){
|
if (station.getDrivingStatus() == STATION_STATUS_STOPPED && station.isLeaving() && i+1 < stations.size()){
|
||||||
mRouteLineInfoCallback.updateStationsInfo(stations,i+1,false);
|
mRouteLineInfoCallback.updateStationsInfo(stations,i+1,false);
|
||||||
mTwoStationsRouts.clear();
|
|
||||||
if(mNextStationIndex != i+1){
|
if(mNextStationIndex != i+1){
|
||||||
|
mTwoStationsRouts.clear();
|
||||||
startRemainRouteInfo();
|
startRemainRouteInfo();
|
||||||
}
|
}
|
||||||
mNextStationIndex = i+1;
|
mNextStationIndex = i+1;
|
||||||
|
|||||||
@@ -573,8 +573,6 @@ public class BusOrderModel {
|
|||||||
+" startLatLon="+currentStation.getName()+",endLatLon="+nextStation.getName());
|
+" startLatLon="+currentStation.getName()+",endLatLon="+nextStation.getName());
|
||||||
CallerAutoPilotManager.INSTANCE.startAutoPilot(parameters);
|
CallerAutoPilotManager.INSTANCE.startAutoPilot(parameters);
|
||||||
|
|
||||||
triggerStartServiceEvent(isRestart, false);
|
|
||||||
|
|
||||||
if (mControllerStatusCallback != null) {
|
if (mControllerStatusCallback != null) {
|
||||||
mControllerStatusCallback.startOpenAutopilot();
|
mControllerStatusCallback.startOpenAutopilot();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -247,6 +247,7 @@ public class BusPresenter extends Presenter<BusFragment>
|
|||||||
@Override
|
@Override
|
||||||
public void startOpenAutopilot() {
|
public void startOpenAutopilot() {
|
||||||
//非美化模式下启动动画
|
//非美化模式下启动动画
|
||||||
|
BusOrderModel.getInstance().triggerStartServiceEvent(isRestartAutopilot, false);
|
||||||
runOnUIThread(() -> mView.startAutopilotAnimation());
|
runOnUIThread(() -> mView.startAutopilotAnimation());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user