diff --git a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/setting/StatusSummaryView.kt b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/setting/StatusSummaryView.kt index 4faa82f169..49cfb3ced5 100644 --- a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/setting/StatusSummaryView.kt +++ b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/setting/StatusSummaryView.kt @@ -235,26 +235,27 @@ class StatusSummaryView @JvmOverloads constructor( override fun authCrtFile(device: String, root: String) { super.authCrtFile(device, root) - UiThreadHandler.post { + UiThreadHandler.post ({ if (data.size < 6) return@post data[5].desc = "本机证书已下载" data[5].isException = false adapter?.notifyItemChanged(5) - } + }, UiThreadHandler.MODE.QUEUE) } override fun authCrtError(errorMsg: String) { super.authCrtError(errorMsg) - UiThreadHandler.post { + UiThreadHandler.post ({ if (data.size < 6) return@post data[5].desc = "本机证书下载异常:$errorMsg" data[5].isException = true adapter?.notifyItemChanged(5) - } + }, UiThreadHandler.MODE.QUEUE) } override fun onCertificationResult(msg: String) { super.onCertificationResult(msg) +// Log.i("emArrow","onCertificationResult : $msg") if (!SharedPrefsMgr.getInstance().getBoolean( "${MoGoConfig.AUTOPILOT_CERTIFICATION}-${DebugConfig.getNetMode()}", MoGoConfig.AUTOPILOT_CERTIFICATION_DEFAULT_VALUE @@ -262,11 +263,11 @@ class StatusSummaryView @JvmOverloads constructor( ) { return } - UiThreadHandler.post { + UiThreadHandler.post ({ if (data.size < 6) return@post data[5].desc = msg data[5].isException = !msg.contains("成功校验") adapter?.notifyItemChanged(5) - } + }, UiThreadHandler.MODE.QUEUE) } } \ No newline at end of file