Merge branch 'dev_robotaxi-d_240227_6.3.0' of gitlab.zhidaoauto.com:SCA/L4HA/AndroidApp/MoGoEagleEye into dev_robotaxi-d_240227_6.3.0

This commit is contained in:
xinfengkun
2024-03-14 10:48:22 +08:00

View File

@@ -53,6 +53,7 @@ class CertFileManager : IMoGoCertProvider {
return@let
}
// 安全校验
certStatus.set(true)
try {
ThreadPoolService.execute {
PassPortSecret.getInstance()
@@ -70,7 +71,7 @@ class CertFileManager : IMoGoCertProvider {
"${SceneConstant.M_D_C}$TAG",
"onSuccess securityKey:$securityKey , thread:${Thread.currentThread().name}"
)
certStatus.set(true)
certStatus.set(false)
deviceCrtFile = securityKey
rootCrtFile = rootKey
SharedPrefsMgr.getInstance().putString(securityKeyTAG, securityKey)
@@ -90,7 +91,7 @@ class CertFileManager : IMoGoCertProvider {
)
override fun onFailed(errorCode: Int, errorMsg: String) {
CallerLogger.d("${SceneConstant.M_D_C}$TAG", "onFailed code:$errorCode, msg:$errorMsg")
certStatus.set(true)
certStatus.set(false)
onError?.invoke("证书下载失败, code:$errorCode, msg:$errorMsg")
}
})