[290 bus/taxi]bus司机端埋点, bus乘客屏轨迹路线优化

This commit is contained in:
wangmingjun
2022-08-04 16:56:40 +08:00
parent 3c90d7ae6a
commit 076a9fbccb
3 changed files with 2 additions and 3 deletions

View File

@@ -157,8 +157,8 @@ public class BusPassengerModel {
BusPassengerStation station = stations.get(i);
if (station.getDrivingStatus() == STATION_STATUS_STOPPED && station.isLeaving() && i+1 < stations.size()){
mRouteLineInfoCallback.updateStationsInfo(stations,i+1,false);
mTwoStationsRouts.clear();
if(mNextStationIndex != i+1){
mTwoStationsRouts.clear();
startRemainRouteInfo();
}
mNextStationIndex = i+1;

View File

@@ -573,8 +573,6 @@ public class BusOrderModel {
+" startLatLon="+currentStation.getName()+"endLatLon="+nextStation.getName());
CallerAutoPilotManager.INSTANCE.startAutoPilot(parameters);
triggerStartServiceEvent(isRestart, false);
if (mControllerStatusCallback != null) {
mControllerStatusCallback.startOpenAutopilot();
}

View File

@@ -247,6 +247,7 @@ public class BusPresenter extends Presenter<BusFragment>
@Override
public void startOpenAutopilot() {
//非美化模式下启动动画
BusOrderModel.getInstance().triggerStartServiceEvent(isRestartAutopilot, false);
runOnUIThread(() -> mView.startAutopilotAnimation());
}