删除多余代码
authorxue <2144439972@qq.com>
Tue, 30 Dec 2025 10:10:31 +0000 (18:10 +0800)
committerxue <2144439972@qq.com>
Tue, 30 Dec 2025 10:10:31 +0000 (18:10 +0800)
code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdPresenter.cpp

index f52bc32..7804468 100644 (file)
@@ -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);//睡眠模式激活标志位