From f59fa7e7080f4a19b4d10541e6e1dbfc991491b8 Mon Sep 17 00:00:00 2001 From: luozheng <1732036298@qq.com> Date: Wed, 28 Feb 2024 09:32:55 +0800 Subject: [PATCH] =?utf8?q?=E5=9B=A0=E5=8A=9F=E8=83=BD=E9=94=AE=E8=B7=B3?= =?utf8?q?=E8=BD=AC=E8=A1=80=E6=B0=A7=E7=95=8C=E9=9D=A2=E4=BC=9A=E5=87=BA?= =?utf8?q?=E7=8E=B0=E6=AD=BB=E6=9C=BA=EF=BC=8C=E4=BF=AE=E6=94=B9=E5=8A=9F?= =?utf8?q?=E8=83=BD=E9=94=AE=E9=BB=98=E8=AE=A4=E8=B7=B3=E8=BD=ACapplist?= =?utf8?q?=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../wearable/fd230app/nativeui/key/src/KeyInputListener.cpp | 4 ++-- .../secondaryfunction/src/SecondaryFunctionPresenter.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/sdk/application/wearable/fd230app/nativeui/key/src/KeyInputListener.cpp b/code/sdk/application/wearable/fd230app/nativeui/key/src/KeyInputListener.cpp index 2a1314bf9..80522d2e0 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/key/src/KeyInputListener.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/key/src/KeyInputListener.cpp @@ -132,12 +132,12 @@ void KeyInputListener::OnKeyRelease(const KeyEvent& event) // 切换到用户配置的快捷卡片 if(SecondaryFunctionModel::GetInstance()->GetHeartRateOrBloodOxygenQuickAccessSwitch() == true) { - NativeAbility::GetInstance().ChangeSlice(VIEW_BLOODOXY, TRANSITION_ZOOM); + NativeAbility::GetInstance().ChangeSlice(VIEW_APPLIST, TRANSITION_ZOOM); } else { //之后需要将VIEW_APPLIST改成心率的SliceID - NativeAbility::GetInstance().ChangeSlice(VIEW_APPLIST, TRANSITION_ZOOM); + NativeAbility::GetInstance().ChangeSlice(VIEW_SETTING, TRANSITION_ZOOM); } } } diff --git a/code/sdk/application/wearable/fd230app/nativeui/secondaryfunction/src/SecondaryFunctionPresenter.cpp b/code/sdk/application/wearable/fd230app/nativeui/secondaryfunction/src/SecondaryFunctionPresenter.cpp index 6bc613888..7375fb302 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/secondaryfunction/src/SecondaryFunctionPresenter.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/secondaryfunction/src/SecondaryFunctionPresenter.cpp @@ -39,7 +39,7 @@ namespace OHOS } if (state != 0) { - p_QuickAccessView->HeartRateOrBloodOxygenQuickAccessRadioButtonSelectStateSet(1); + p_QuickAccessView->HeartRateOrBloodOxygenQuickAccessRadioButtonSelectStateSet(state); SecondaryFunctionModel::GetInstance()->KeepHeartRateOrBloodOxygenQuickAccessRadioButtonSelectState(0); } else -- 2.17.1