[8.2.8][i18n] adas-data MogoReport.java 中文抽取
This commit is contained in:
@@ -6,6 +6,7 @@ import androidx.annotation.RequiresPermission
|
||||
import bag_manager.BagManagerOuterClass
|
||||
import chassis.SpecialVehicleTaskCmdOuterClass
|
||||
import com.alibaba.android.arouter.facade.annotation.Route
|
||||
import com.mogo.commons.AbsMogoApplication
|
||||
import com.mogo.commons.debug.DebugConfig
|
||||
import com.mogo.commons.storage.SharedPrefsMgr
|
||||
import com.mogo.eagle.core.data.autopilot.AutopilotControlParameters
|
||||
@@ -1167,7 +1168,7 @@ class MoGoAutopilotControlProvider :
|
||||
* @param resultCode 上报字段code
|
||||
*/
|
||||
override fun getReportResultDesc(resultCode: String): String {
|
||||
return MogoReport.ResultDesc.getDesc(resultCode)
|
||||
return MogoReport.ResultDesc.getDesc(AbsMogoApplication.getApp(), resultCode)
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1175,7 +1176,7 @@ class MoGoAutopilotControlProvider :
|
||||
* @param actionCode 上报字段code
|
||||
*/
|
||||
override fun getReportActionDesc(actionCode: String): String {
|
||||
return MogoReport.ActionDesc.getDesc(actionCode)
|
||||
return MogoReport.ActionDesc.getDesc(AbsMogoApplication.getApp(), actionCode)
|
||||
}
|
||||
|
||||
override fun onAutopilotCarConfig(carConfigResp: MessagePad.CarConfigResp) {
|
||||
|
||||
Reference in New Issue
Block a user