From f5dd5c66aaac70a8acd880a5d14a82349e6b3bc9 Mon Sep 17 00:00:00 2001 From: penglei <1624952103@qq.com> Date: Mon, 20 Oct 2025 09:58:31 +0800 Subject: [PATCH] =?utf8?q?=E5=85=B3=E9=97=ADn9=E4=BD=A9=E6=88=B4=E6=A3=80?= =?utf8?q?=E6=B5=8B=E5=88=87=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../alarmclocktimerconfig/src/AlarmClockTimerConfig.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/code/sdk/application/wearable/n9/nativeapp/nativeui/alarmclocktimerconfig/src/AlarmClockTimerConfig.cpp b/code/sdk/application/wearable/n9/nativeapp/nativeui/alarmclocktimerconfig/src/AlarmClockTimerConfig.cpp index d0dffed00..3e3045d4b 100644 --- a/code/sdk/application/wearable/n9/nativeapp/nativeui/alarmclocktimerconfig/src/AlarmClockTimerConfig.cpp +++ b/code/sdk/application/wearable/n9/nativeapp/nativeui/alarmclocktimerconfig/src/AlarmClockTimerConfig.cpp @@ -544,9 +544,7 @@ extern "C" // 设置状态为小睡 uapi_dev_runtime_set_nap_status(0); // 清零小睡状态 uapi_dev_runtime_set_absolute_static_status(0); // 清零绝对静止状态 -#ifdef SUPPORT_PPG_SERVICE - set_keep_in_wear_det_mode(1); // 开启小睡佩戴监测 -#endif + #ifdef SUPPORT_CYWEE_SERVICE do_cywee_service_check_msg(CYWEE_SERVICE_CMD_NAP_SEDENTARY_MODE, NULL); // 算法底层切换小睡监测模式 #endif @@ -563,9 +561,6 @@ extern "C" // if(uapi_dev_runtime_get_nap_monitoring_status() == 1) // uapi_clean_sleep_flag(); // 清除睡眠标志文件 // OHOS::create_sleep_folder(); // 创建睡眠文件夹 -#ifdef SUPPORT_PPG_SERVICE - set_keep_in_wear_det_mode(0); -#endif #ifdef SUPPORT_CYWEE_SERVICE do_cywee_service_check_msg(CYWEE_SERVICE_CMD_GET_SLEEP_DATA, &cmd); // 强制获取小睡数据,结束小睡 #endif -- 2.17.1