From: xue <2144439972@qq.com> Date: Tue, 30 Dec 2025 10:10:31 +0000 (+0800) Subject: 删除多余代码 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=519a64d1faa2a33cbb205ab9bfdc1c0c45bdcebc;p=mirrors%2FFD230.git 删除多余代码 --- diff --git a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdPresenter.cpp b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdPresenter.cpp index f52bc3291..78044683a 100644 --- a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdPresenter.cpp +++ b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdPresenter.cpp @@ -840,9 +840,8 @@ namespace OHOS WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "HandleLullabyViewNavigation: 随机故事"); } break; - case ThunderBirdLullabyView::THUNDERBIRD_LULLABYVIEW_4: - ThunderBirdMainView::GetInstance()->ChangeView(currentView, THUNDERBIRD_LULLABYVIEW, ThunderBirdLullabyView::THUNDERBIRD_LULLABYVIEW_5); - break; + // THUNDERBIRD_LULLABYVIEW_4 时按 VENDOR_UP 键会触发音量调节(IsVolumeAdjustmentAvailable 返回 true), + // 不会执行到这里。从 VIEW_4 跳转到 VIEW_5 应该通过长按 FUNC 键触发(HandleFuncKeyLongPress)。 case ThunderBirdLullabyView::THUNDERBIRD_LULLABYVIEW_5: ln_ws_end_audio_chat();//结束对话 // uapi_set_sleep_mode_active(false);//睡眠模式激活标志位