[2.11.0] bus 司机端在中断任务后清除marker

This commit is contained in:
wangmingjun
2022-10-21 17:15:04 +08:00
parent 32a2fdc91a
commit 94747dc1ec

View File

@@ -456,6 +456,8 @@ public class BusOrderModel {
CallerLogger.INSTANCE.d(M_BUS + TAG, "abortTask success: " + o);
clearNativeTag();
if (o.code == 0){ // 重置成功
clearNativeTag();
clearBusStationDatas();
queryBusRoutes();
startOrStopQueryPassengerWriteOff(false);
}
@@ -838,6 +840,7 @@ public class BusOrderModel {
CallerLogger.INSTANCE.d(M_BUS + TAG, "endTask success: " + o);
if (o.code == 0){
clearNativeTag();
clearBusStationDatas();
queryBusRoutes();// 重新获取任务
startOrStopQueryPassengerWriteOff(false);
ttsTips(mContext.getString(R.string.bus_end_task_tip));