From 537447f7a1ead09880f4fee48e6fb374ece50949 Mon Sep 17 00:00:00 2001 From: luozheng <1732036298@qq.com> Date: Thu, 3 Oct 2024 15:31:11 +0800 Subject: [PATCH] =?utf8?q?=E8=A7=A3=E5=86=B3=E5=BD=95=E9=9F=B3=E6=92=AD?= =?utf8?q?=E6=94=BE=E6=8C=89=E9=92=AE=E6=9B=B4=E6=96=B0=E6=85=A2=E9=97=AE?= =?utf8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../fd230app/nativeui/record/src/RecordingModel.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/code/sdk/application/wearable/fd230app/nativeui/record/src/RecordingModel.cpp b/code/sdk/application/wearable/fd230app/nativeui/record/src/RecordingModel.cpp index 8b98d97fa..ff254eb5c 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/record/src/RecordingModel.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/record/src/RecordingModel.cpp @@ -345,6 +345,10 @@ namespace OHOS isStopAndReset = true; SetRecordingPlayButtonState(false); SetCircleProgress(0); + if (RecordingPlayerView::GetInstance() != nullptr) + { + RecordingPlayerView::GetInstance()->SetPlayerButtonState(UICheckBox::UNSELECTED); + } } AudioManager::GetInstance().DeactivateAudioInterrupt(interrupt); return OHOS_SUCCESS; @@ -361,6 +365,10 @@ namespace OHOS { SetRecordingPlayButtonState(false); SetCircleProgress(0); + if (RecordingPlayerView::GetInstance() != nullptr) + { + RecordingPlayerView::GetInstance()->SetPlayerButtonState(UICheckBox::UNSELECTED); + } } AudioManager::GetInstance().DeactivateAudioInterrupt(interrupt); return OHOS_SUCCESS; -- 2.17.1