[8.2.8][i18n] 所有吐司 中文抽取
This commit is contained in:
@@ -452,7 +452,8 @@ class DriverM1Model {
|
||||
&& TextUtils.isEmpty(it.csvFileUrl)
|
||||
&& TextUtils.isEmpty(it.csvFileUrlDPQP)
|
||||
) {
|
||||
ToastUtils.showLong("无发布轨迹, 请发布后重试")
|
||||
// ToastUtils.showLong("无发布轨迹, 请发布后重试")
|
||||
ToastUtils.showLong(R.string.module_taxi_no_publication_trajectory)
|
||||
CallerLogger.e(
|
||||
TAG, "isPassStartAutopilotCommand = " +
|
||||
FunctionBuildConfig.isPassStartAutopilotCommand
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package com.magic.mogo.och.charter.view.autopilot
|
||||
|
||||
import androidx.lifecycle.ViewModel
|
||||
import com.magic.mogo.och.charter.R
|
||||
import com.magic.mogo.och.charter.bean.QueryCurrentOrderResponse.Result.Companion.ARRIVED
|
||||
import com.magic.mogo.och.charter.callback.IDriverM1ControllerStatusCallback
|
||||
import com.magic.mogo.och.charter.constant.CharterConst
|
||||
@@ -54,7 +55,8 @@ class AutopilotStatusViewModel: ViewModel(), IDriverM1ControllerStatusCallback,
|
||||
fun restartAutopilot() {
|
||||
// todo 启动自驾必须有订单路线
|
||||
if(isAnimateRunning.get()){
|
||||
ToastUtils.showShort("启动自驾中")
|
||||
// ToastUtils.showShort("启动自驾中")
|
||||
ToastUtils.showShort(R.string.module_och_autopilot_starting)
|
||||
}else {
|
||||
if (DriverM1Model.get().isHaveOrder()) {
|
||||
DriverM1Model.get().restartAutopilot()
|
||||
|
||||
Reference in New Issue
Block a user