From 95a9abbaf414a11a1efa88ea7eea037554a7712a Mon Sep 17 00:00:00 2001 From: xinfengkun Date: Wed, 20 Aug 2025 10:21:25 +0800 Subject: [PATCH] =?UTF-8?q?[8.3.0][fix]=20=E4=BF=AE=E5=A4=8Dbug=20?= =?UTF-8?q?=E3=80=90saas=20B2=E5=8F=B8=E6=9C=BA=E5=B1=8FV8.2.0=E3=80=91?= =?UTF-8?q?=E3=80=90=E5=AE=9E=E8=BD=A6=E3=80=91=E5=8F=B8=E6=9C=BA=E7=AB=AF?= =?UTF-8?q?=E4=B8=8E=E5=9F=9F=E6=8E=A7=E8=BF=9E=E6=8E=A5=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E5=85=B3=E9=97=ADv2x=E5=BC=80=E5=85=B3?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=88=87=E6=8D=A2=E5=90=8E=E5=8F=B0=E5=90=8E?= =?UTF-8?q?=E9=87=8D=E6=96=B0=E6=89=93=E5=BC=80=E5=8F=B8=E6=9C=BA=E7=AB=AF?= =?UTF-8?q?=E4=BC=9A=E6=8F=90=E7=A4=BA=E2=80=9C=E8=AF=B7=E7=AD=89=E5=BE=85?= =?UTF-8?q?=E4=B8=8E=E5=9F=9F=E6=8E=A7=E6=81=A2=E5=A4=8D=E8=BF=9E=E6=8E=A5?= =?UTF-8?q?=E5=90=8E=E6=93=8D=E4=BD=9C=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mogo/eagle/core/function/hmi/ui/MoGoHmiProvider.kt | 2 ++ .../core/function/hmi/ui/operate/OperatePanelLayout.kt | 8 +++----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/MoGoHmiProvider.kt b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/MoGoHmiProvider.kt index 832c72569c..42c0e5c60e 100644 --- a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/MoGoHmiProvider.kt +++ b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/MoGoHmiProvider.kt @@ -494,11 +494,13 @@ class MoGoHmiProvider : IMoGoHmiProvider { if (target != null && target.visibility != View.VISIBLE) { TransitionManager.beginDelayedTransition(target.parent as ViewGroup, Slide(Gravity.START).also { it.duration = 150; it.addTarget(target) }) target.visibility = View.VISIBLE + CallerHmiViewControlListenerManager.invokeOperatePanelDisplayStatus(true) } } else { if (target != null && target.visibility == View.VISIBLE) { TransitionManager.beginDelayedTransition(target.parent as ViewGroup, Slide(Gravity.START).also { it.duration = 150; it.addTarget(target) }) target.visibility = View.GONE + CallerHmiViewControlListenerManager.invokeOperatePanelDisplayStatus(false) } } } diff --git a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/operate/OperatePanelLayout.kt b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/operate/OperatePanelLayout.kt index f0778fa7e3..c27148cf64 100644 --- a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/operate/OperatePanelLayout.kt +++ b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/operate/OperatePanelLayout.kt @@ -456,7 +456,9 @@ class OperatePanelLayout : LinearLayout { super.onResume() prevIpcConnectStatus = AppConfigInfo.isConnectAutopilot v2xIsShow = true - handler.sendEmptyMessage(WHAT_UPDATE_ENABLE) + if (operatePaneIsShow) { + handler.sendEmptyMessage(WHAT_UPDATE_ENABLE) + } } @@ -1970,8 +1972,4 @@ class OperatePanelLayout : LinearLayout { isClickable = true } - override fun onVisibilityChanged(changedView: View, visibility: Int) { - super.onVisibilityChanged(changedView, visibility) - CallerHmiViewControlListenerManager.invokeOperatePanelDisplayStatus(visibility == View.VISIBLE) - } } \ No newline at end of file