Merge branch 'dev_robotaxi-d_240401_6.4.0' into dev_robotaxi-d_240401_6.4.0_bailing

This commit is contained in:
yangyakun
2024-05-08 14:22:08 +08:00
9 changed files with 27 additions and 6 deletions

View File

@@ -2,6 +2,7 @@ package com.mogo.eagle.core.function.hmi.ui.setting
import android.content.Context
import android.util.AttributeSet
import android.util.Log
import android.view.LayoutInflater
import android.widget.FrameLayout
import androidx.recyclerview.widget.LinearLayoutManager
@@ -235,7 +236,11 @@ class StatusSummaryView @JvmOverloads constructor(
override fun authCrtFile(device: String, root: String) {
super.authCrtFile(device, root)
Log.i("emArrow","authCrtFile : $device, certFileResult: ${CallerAutopilotCarConfigListenerManager.getCertFileResult()}")
UiThreadHandler.post ({
if(CallerAutopilotCarConfigListenerManager.getCertFileResult().contains("成功校验")){
return@post
}
if (data.size < 6) return@post
data[5].desc = "本机证书已下载"
data[5].isException = false
@@ -255,7 +260,7 @@ class StatusSummaryView @JvmOverloads constructor(
override fun onCertificationResult(msg: String) {
super.onCertificationResult(msg)
// Log.i("emArrow","onCertificationResult : $msg")
Log.i("emArrow","onCertificationResult : $msg")
if (!SharedPrefsMgr.getInstance().getBoolean(
"${MoGoConfig.AUTOPILOT_CERTIFICATION}-${DebugConfig.getNetMode()}",
MoGoConfig.AUTOPILOT_CERTIFICATION_DEFAULT_VALUE