From e374c33afea593a0f9222e76df866e6b664aa477 Mon Sep 17 00:00:00 2001 From: Caisking <3449750381@qq.com> Date: Fri, 30 Aug 2024 17:57:38 +0800 Subject: [PATCH] =?utf8?q?=E5=B1=8F=E8=94=BDKeyInputListener=E5=8A=9F?= =?utf8?q?=E8=83=BD=E9=94=AE=E6=B2=A1=E6=9C=89=E4=BD=BF=E7=94=A8=E5=88=B0?= =?utf8?q?=E7=9A=84=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../wearable/fd230app/nativeui/key/src/KeyInputListener.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 555e280f4..8ec2b2a6a 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/key/src/KeyInputListener.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/key/src/KeyInputListener.cpp @@ -194,6 +194,7 @@ namespace OHOS // 检查是否是短按功能键 if (longPressFlag == 0 && pressFlag == 1) { +#if 0 // 如果当前页面是音量卡片或正在通话中,则执行音量减操作 if (currentViewId == VIEW_INCOMING_CALL || NotificationManager::GetInstance()->GetWatchCallStatus()) @@ -201,6 +202,7 @@ namespace OHOS // 音量- CallVolumeDipSwitchControl(VOLUMEDOWN); } +#endif else if (currentViewId != VIEW_MAIN) // 如果当前页面不是主表盘,如果屏幕亮起,则先处理闹钟通知再切换到主表盘页面。 { if (mcu_pms_is_screen_on()) -- 2.17.1