From 2d26d0f41e4e0de33cb98b1e93a7ca3e5cd24a9d Mon Sep 17 00:00:00 2001 From: aibingbing Date: Thu, 19 Sep 2024 15:18:41 +0800 Subject: [PATCH] =?UTF-8?q?[6.7.0][=E5=90=AF=E8=87=AA=E9=A9=BE]=20refactor?= =?UTF-8?q?:=20rename=20function=20;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mogo/eagle/core/function/hmi/bone/BoneTopStatusLayout.kt | 2 +- .../eagle/core/function/call/och/CallerOchCustomViewManager.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/bone/BoneTopStatusLayout.kt b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/bone/BoneTopStatusLayout.kt index 1599629c1e..099114c214 100644 --- a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/bone/BoneTopStatusLayout.kt +++ b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/bone/BoneTopStatusLayout.kt @@ -39,7 +39,7 @@ class BoneTopStatusLayout @JvmOverloads constructor( kotlin.runCatching { startAutoPilotContainer?.also { container -> container.removeAllViews() - val view = CallerOchCustomViewManager.getAutopilotView(context) + val view = CallerOchCustomViewManager.getStartAutopilotView(context) Logger.d(TAG, "$view ${Thread.currentThread().name}") view?.also { container.addView(it) diff --git a/core/mogo-core-function-call/src/main/java/com/mogo/eagle/core/function/call/och/CallerOchCustomViewManager.kt b/core/mogo-core-function-call/src/main/java/com/mogo/eagle/core/function/call/och/CallerOchCustomViewManager.kt index 98a36cb4db..0efa2df3c7 100644 --- a/core/mogo-core-function-call/src/main/java/com/mogo/eagle/core/function/call/och/CallerOchCustomViewManager.kt +++ b/core/mogo-core-function-call/src/main/java/com/mogo/eagle/core/function/call/och/CallerOchCustomViewManager.kt @@ -32,7 +32,7 @@ object CallerOchCustomViewManager { /** * 创建 自动自动驾驶 自定义 View */ - fun getAutopilotView(context: Context?): View? { + fun getStartAutopilotView(context: Context?): View? { return ochCustomViewProviderApi?.createStartAutopilotView(context) } } \ No newline at end of file