From 679bfc7dac44ac13836d469f472298c680364e50 Mon Sep 17 00:00:00 2001 From: luozheng <1732036298@qq.com> Date: Sat, 28 Feb 2026 19:02:18 +0800 Subject: [PATCH] =?utf8?q?=E8=BF=98=E5=8E=9F=E4=B8=BB=E7=95=8C=E9=9D=A2?= =?utf8?q?=E5=92=8Capplist=E7=95=8C=E9=9D=A2=E5=88=87=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../fd272/nativeapp/nativeui/key/src/KeyInputListener.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/code/sdk/application/wearable/fd272/nativeapp/nativeui/key/src/KeyInputListener.cpp b/code/sdk/application/wearable/fd272/nativeapp/nativeui/key/src/KeyInputListener.cpp index 8a71942be..c7e6ec747 100644 --- a/code/sdk/application/wearable/fd272/nativeapp/nativeui/key/src/KeyInputListener.cpp +++ b/code/sdk/application/wearable/fd272/nativeapp/nativeui/key/src/KeyInputListener.cpp @@ -85,7 +85,7 @@ void KeyInputListener::HandlePowerKeyPress(uint16_t currentViewId) { if (mcu_pms_is_screen_on()) { - NativeAbility::GetInstance().ChangeSlice(VIEW_MAIN,TransitionType::TRANSITION_ZOOM); + NativeAbility::GetInstance().ChangeSlice(VIEW_MAIN,TransitionType::TRANSITION_INVALID); } } else // 当前页面是主表盘 @@ -108,7 +108,11 @@ void KeyInputListener::HandlePowerKeyPress(uint16_t currentViewId) } else { - NativeAbility::GetInstance().ChangeSlice(VIEW_APPLIST, TransitionType::TRANSITION_ZOOM); + if (ApplistModel::GetInstance().GetCurrentStyle() == AppListStyle::WATERFALL_STYLE) { + NativeAbility::GetInstance().ChangeSlice(VIEW_APPLIST, TransitionType::TRANSITION_INVALID); + } else { + NativeAbility::GetInstance().ChangeSlice(VIEW_APPLIST, TransitionType::TRANSITION_INVALID); + } } } } -- 2.17.1