From bdc086218fbbbd91cc2a1396dbaaba82291a14ca Mon Sep 17 00:00:00 2001 From: luozheng <1732036298@qq.com> Date: Wed, 16 Oct 2024 22:17:05 +0800 Subject: [PATCH] =?utf8?q?=E8=A7=A3=E5=86=B3=E6=92=AD=E6=94=BE=E5=99=A8?= =?utf8?q?=E5=A3=B0=E9=9F=B3=E4=B8=8D=E8=83=BD=E7=82=B9=E5=87=BBbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../wearable/fd230app/nativeui/player/src/PlayersPresenter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/sdk/application/wearable/fd230app/nativeui/player/src/PlayersPresenter.cpp b/code/sdk/application/wearable/fd230app/nativeui/player/src/PlayersPresenter.cpp index be5a1f5e7..7c005b015 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/player/src/PlayersPresenter.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/player/src/PlayersPresenter.cpp @@ -728,13 +728,13 @@ void ButtonOnClickListener::SoundButtonOnClick() WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "SoundButtonOnClick playersView nullptr err"); return; } + playersView->ChangeView(PlayersView::MAIN_MUSICPLAYER_VIEW, PlayersView::MUSIC_VOLUME_CONTROL_VIEW); VolumeSettingView *volumeSettingView = playersView->GetVolumeSettingView(); if(volumeSettingView == nullptr) { WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "SoundButtonOnClick volumeSettingView nullptr err"); return; } - playersView->ChangeView(PlayersView::MAIN_MUSICPLAYER_VIEW, PlayersView::MUSIC_VOLUME_CONTROL_VIEW); int32_t volume = uapi_systemVolumeGet(); //获取系统音量 WEARABLE_LOGI(WEARABLE_LOG_MODULE_APP, "current volume = %d", volume); if(volumeSettingView->GetProgress()) { -- 2.17.1