From 59ac839d0a6a76305b319546ff4c917bff2afbcd Mon Sep 17 00:00:00 2001 From: luozheng <1732036298@qq.com> Date: Sat, 28 Feb 2026 14:52:30 +0800 Subject: [PATCH] =?utf8?q?applist=E5=92=8C=E4=B8=BB=E7=95=8C=E9=9D=A2?= =?utf8?q?=E5=88=87=E6=8D=A2=E6=B7=BB=E5=8A=A0=E5=8A=A8=E7=94=BB=E5=88=87?= =?utf8?q?=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, 2 insertions(+), 6 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 c7e6ec747..8a71942be 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_INVALID); + NativeAbility::GetInstance().ChangeSlice(VIEW_MAIN,TransitionType::TRANSITION_ZOOM); } } else // 当前页面是主表盘 @@ -108,11 +108,7 @@ void KeyInputListener::HandlePowerKeyPress(uint16_t currentViewId) } else { - if (ApplistModel::GetInstance().GetCurrentStyle() == AppListStyle::WATERFALL_STYLE) { - NativeAbility::GetInstance().ChangeSlice(VIEW_APPLIST, TransitionType::TRANSITION_INVALID); - } else { - NativeAbility::GetInstance().ChangeSlice(VIEW_APPLIST, TransitionType::TRANSITION_INVALID); - } + NativeAbility::GetInstance().ChangeSlice(VIEW_APPLIST, TransitionType::TRANSITION_ZOOM); } } } -- 2.17.1