[290] taxi司机端订单到站时并在美化模式下,自动驾驶按钮状态为自驾中状态
This commit is contained in:
@@ -1143,7 +1143,8 @@ public class TaxiModel {
|
||||
} else if (state == IMoGoAutopilotStatusListener.STATUS_AUTOPILOT_ENABLE) {
|
||||
if (FunctionBuildConfig.isDemoMode
|
||||
&& checkCurrentOCHOrder()
|
||||
&& getCurOrderStatus() == TaxiOrderStatusEnum.OnTheWayToEnd) {
|
||||
&& (getCurOrderStatus() == TaxiOrderStatusEnum.OnTheWayToEnd
|
||||
|| getCurOrderStatus() == TaxiOrderStatusEnum.ArriveAtEnd)) {
|
||||
// 当美化模式(演示模式)开启时:且有订单、且为去往目的地状态,维持自动驾驶icon开启状态
|
||||
return;
|
||||
}
|
||||
@@ -1154,7 +1155,8 @@ public class TaxiModel {
|
||||
} else if (state == IMoGoAutopilotStatusListener.STATUS_AUTOPILOT_DISABLE) {
|
||||
if (FunctionBuildConfig.isDemoMode
|
||||
&& checkCurrentOCHOrder()
|
||||
&& getCurOrderStatus() == TaxiOrderStatusEnum.OnTheWayToEnd) {
|
||||
&& (getCurOrderStatus() == TaxiOrderStatusEnum.OnTheWayToEnd
|
||||
|| getCurOrderStatus() == TaxiOrderStatusEnum.ArriveAtEnd)) {
|
||||
// 当美化模式(演示模式)开启时:且有订单、且为去往目的地状态,维持自动驾驶icon开启状态
|
||||
return;
|
||||
}
|
||||
@@ -1166,7 +1168,8 @@ public class TaxiModel {
|
||||
}else if (state == IMoGoAutopilotStatusListener.STATUS_PARALLEL_DRIVING){
|
||||
if (FunctionBuildConfig.isDemoMode
|
||||
&& checkCurrentOCHOrder()
|
||||
&& getCurOrderStatus() == TaxiOrderStatusEnum.OnTheWayToEnd) {
|
||||
&& (getCurOrderStatus() == TaxiOrderStatusEnum.OnTheWayToEnd
|
||||
|| getCurOrderStatus() == TaxiOrderStatusEnum.ArriveAtEnd)) {
|
||||
// 当美化模式(演示模式)开启时:且有订单、且为去往目的地状态,维持自动驾驶icon开启状态
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user