[m1]
[延时添加判断]
This commit is contained in:
@@ -213,7 +213,7 @@ class BusPassengerPresenter(view: MainFragment?) :
|
||||
ToastUtils.showShort("因车辆正在人工驾驶中无法靠边停车,请安全员主动停止车辆")
|
||||
}
|
||||
IMoGoAutopilotStatusListener.STATUS_AUTOPILOT_RUNNING -> {
|
||||
// 靠边停车
|
||||
// 靠边停车 订单结束 靠边停车
|
||||
CallerAutoPilotControlManager.sendPlanningCmd(1)
|
||||
}
|
||||
IMoGoAutopilotStatusListener.STATUS_PARALLEL_DRIVING -> {
|
||||
|
||||
@@ -362,7 +362,7 @@ class M1SoftFragment :
|
||||
if (it.value == temperatureCmd) {
|
||||
rv_aircondition_temperature.tag = touchTag
|
||||
UiThreadHandler.postDelayed({
|
||||
rv_aircondition_temperature.smoothScrollToPosition(it.index)
|
||||
rv_aircondition_temperature?.smoothScrollToPosition(it.index)
|
||||
},500)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@ class MainFragment :
|
||||
ToastUtils.showShort(AbsMogoApplication.getApp().getString(R.string.m1_please_login_driver))
|
||||
}
|
||||
}
|
||||
ll_car_speed.onClick {
|
||||
ll_car_speed.setOnClickListener {
|
||||
if (DebugConfig.isDebug()) {
|
||||
if (LoginStatusManager.isLogin()) {
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
||||
|
||||
@@ -349,6 +349,7 @@ class LineSiteView @JvmOverloads constructor(
|
||||
onlyChangeSite(false)
|
||||
// 可以切换路径
|
||||
setEnableLineStatus(true)
|
||||
setSiteAdapterEnable(false)
|
||||
queryLineList()
|
||||
}
|
||||
IMoGoAutopilotStatusListener.STATUS_AUTOPILOT_ENABLE -> {//
|
||||
@@ -356,6 +357,7 @@ class LineSiteView @JvmOverloads constructor(
|
||||
onlyChangeSite(false)
|
||||
// 可以切换路径
|
||||
setEnableLineStatus(true)
|
||||
setSiteAdapterEnable(false)
|
||||
queryLineList()
|
||||
}
|
||||
IMoGoAutopilotStatusListener.STATUS_AUTOPILOT_RUNNING -> {
|
||||
@@ -366,6 +368,7 @@ class LineSiteView @JvmOverloads constructor(
|
||||
onlyChangeSite(false)
|
||||
// 可以切换路径
|
||||
setEnableLineStatus(true)
|
||||
setSiteAdapterEnable(false)
|
||||
queryLineList()
|
||||
}
|
||||
OCHPlanningStopSideStatusManager.StopSite.STOPSITED -> {
|
||||
@@ -373,6 +376,7 @@ class LineSiteView @JvmOverloads constructor(
|
||||
onlyChangeSite(false)
|
||||
// 可以切换路径
|
||||
setEnableLineStatus(true)
|
||||
setSiteAdapterEnable(false)
|
||||
queryLineList()
|
||||
}
|
||||
OCHPlanningStopSideStatusManager.StopSite.LANKE_KEEP ->{
|
||||
|
||||
@@ -433,8 +433,8 @@ class ConsultVideoPlayer : StandardGSYVideoPlayer {
|
||||
if (!isVertical && isLockLand && mOrientationUtils != null && mOrientationUtils.isLand != 1) {
|
||||
mOrientationUtils.resolveByClick()
|
||||
}
|
||||
gsyVideoPlayer.visibility = VISIBLE
|
||||
frameLayout.visibility = VISIBLE
|
||||
gsyVideoPlayer?.visibility = VISIBLE
|
||||
frameLayout?.visibility = VISIBLE
|
||||
}, 300)
|
||||
} else {
|
||||
if (!isVertical && isLockLand && mOrientationUtils != null) {
|
||||
|
||||
Reference in New Issue
Block a user