From c25bcfc2219cd7ad1d0c2db9342e8ccb2b390eb9 Mon Sep 17 00:00:00 2001 From: luozheng <1732036298@qq.com> Date: Thu, 14 Aug 2025 10:25:56 +0800 Subject: [PATCH] =?utf8?q?ui=E7=95=8C=E9=9D=A2=E7=9A=84=E8=B6=85=E6=97=B6?= =?utf8?q?=E6=97=B6=E9=97=B4=E6=9A=82=E6=97=B6=E6=94=B9=E4=B8=BA6s?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../wearable/fd230app/nativeui/aivoice/src/AiVoiceModel.cpp | 4 ++-- .../wearable/fd230app/nativeui/aivoice/src/AiVoiceView.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/sdk/application/wearable/fd230app/nativeui/aivoice/src/AiVoiceModel.cpp b/code/sdk/application/wearable/fd230app/nativeui/aivoice/src/AiVoiceModel.cpp index 792781ad2..aa3f81484 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/aivoice/src/AiVoiceModel.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/aivoice/src/AiVoiceModel.cpp @@ -1327,7 +1327,7 @@ namespace OHOS return false; } static osTimerId_t g_listeningEndHandle = nullptr; - static int8_t LISTENING_TIMEOUT = 10; // 10s钟无操作关闭该视图 + static int8_t LISTENING_TIMEOUT = 6; // 10s钟无操作关闭该视图 static void AIListeningCallbackProc(int data) { WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "AIListeningCallbackProc %d", LISTENING_TIMEOUT); @@ -1406,7 +1406,7 @@ namespace OHOS WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "osTimerDelete failed, ret = %lx!!", ret); } g_listeningEndHandle = nullptr; - LISTENING_TIMEOUT = 10; + LISTENING_TIMEOUT = 6; } } diff --git a/code/sdk/application/wearable/fd230app/nativeui/aivoice/src/AiVoiceView.cpp b/code/sdk/application/wearable/fd230app/nativeui/aivoice/src/AiVoiceView.cpp index b48036da6..9b8b87154 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/aivoice/src/AiVoiceView.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/aivoice/src/AiVoiceView.cpp @@ -710,7 +710,7 @@ namespace OHOS if (p_AivoiceListeningView) { p_AivoiceListeningView->StartOrStopAivoiceListeningImageAnimatorView(true); - p_AivoiceListeningView->GetShowtimeoutLabel()->SetText("10"); + p_AivoiceListeningView->GetShowtimeoutLabel()->SetText("6"); p_AivoiceListeningView->GetShowtimeoutLabel()->Invalidate(); } return true; -- 2.17.1