From: xue <2144439972@qq.com> Date: Sun, 21 Sep 2025 11:36:12 +0000 (+0800) Subject: 修改音量实现 X-Git-Tag: leiniao_debug_1.0.0_20250922_020716~4^2~1 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=refs%2Fchanges%2F2362%2Fhead;p=mirrors%2FFD230.git 修改音量实现 --- diff --git a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdReminderView.cpp b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdReminderView.cpp index 2cd468702..82df46955 100644 --- a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdReminderView.cpp +++ b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdReminderView.cpp @@ -399,7 +399,7 @@ namespace OHOS if (value < 0) { value = 0; } if (value > 100) { value = 100; } remindProgressValue_ = value; - AudioManager::GetInstance().SetVolume(AUDIO_STREAM_MUSIC, remindProgressValue_); + AudioManager::GetInstance().SetVolume(AUDIO_STREAM_VOICE_ASSISTANT, remindProgressValue_); VolumeProgress->SetValue(remindProgressValue_); VolumeProgress->Invalidate(); }