diff --git a/OCH/mogo-och-common-module/src/main/java/com/mogo/och/common/module/wigets/StartAutopilotAnimationView.kt b/OCH/mogo-och-common-module/src/main/java/com/mogo/och/common/module/wigets/StartAutopilotAnimationView.kt index 5a27d8dc0d..b6166b60c6 100644 --- a/OCH/mogo-och-common-module/src/main/java/com/mogo/och/common/module/wigets/StartAutopilotAnimationView.kt +++ b/OCH/mogo-och-common-module/src/main/java/com/mogo/och/common/module/wigets/StartAutopilotAnimationView.kt @@ -36,7 +36,6 @@ class StartAutopilotAnimationView @JvmOverloads constructor( private val closeWarningTask: Runnable = Runnable { //开始倒计时 - countDownTimer() showWarning(DirectionEnum.ALERT_WARNING_NON) } @@ -183,7 +182,6 @@ class StartAutopilotAnimationView @JvmOverloads constructor( } private fun countDownTimer() { - startAutopilotTip.visibility = VISIBLE startTimer = object : CountDownTimerExt(ALL_CLOSE_TIMER, 1000L) {// 5s倒计时后开启自驾 @@ -197,6 +195,7 @@ class StartAutopilotAnimationView @JvmOverloads constructor( } override fun onTimerFinish() { + cancelCountdown() //倒计时结束了... UiThreadHandler.post { SoundPoolHelper.getSoundPoolHelper().releaseSoundPool() diff --git a/OCH/taxi/unmanned-driver/src/main/java/com/mogo/och/taxi/constant/TaxiUnmannedConst.kt b/OCH/taxi/unmanned-driver/src/main/java/com/mogo/och/taxi/constant/TaxiUnmannedConst.kt index 7f6575423b..e759aef583 100644 --- a/OCH/taxi/unmanned-driver/src/main/java/com/mogo/och/taxi/constant/TaxiUnmannedConst.kt +++ b/OCH/taxi/unmanned-driver/src/main/java/com/mogo/och/taxi/constant/TaxiUnmannedConst.kt @@ -84,7 +84,7 @@ class TaxiUnmannedConst { const val START_PREPARE_TO_START_TASK_INTERVAL = 0L // 直接拉取接驾任务 - const val START_PREPARE_TASK_RETRY_INTERVAL = 10 * 1000L // 直接拉取接驾任务 + const val START_PREPARE_TASK_RETRY_INTERVAL = 5 * 1000L // 拉取任务失败重试 5s const val START_AUTOPILOT_COUNTDOWN_INTERVAL = 5 * 1000L // 自动启动自驾倒数计时