[290 bus/taxi]bus司机端埋点, bus乘客屏轨迹路线优化
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
@@ -247,6 +247,7 @@ public class BusPresenter extends Presenter<BusFragment>
|
||||
@Override
|
||||
public void startOpenAutopilot() {
|
||||
//非美化模式下启动动画
|
||||
BusOrderModel.getInstance().triggerStartServiceEvent(isRestartAutopilot, false);
|
||||
runOnUIThread(() -> mView.startAutopilotAnimation());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user