From: Caisking Date: Tue, 13 Jan 2026 06:41:18 +0000 (+0800) Subject: 关闭睡眠界面的打印 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=ee6544927ae0ce52057dda8915c23119e9df9ed2;p=mirrors%2FFD230.git 关闭睡眠界面的打印 --- diff --git a/code/sdk/application/wearable/fd272/nativeapp/nativeui/sleep/src/SleepModel.cpp b/code/sdk/application/wearable/fd272/nativeapp/nativeui/sleep/src/SleepModel.cpp index 22db1f507..0a6a0ee55 100644 --- a/code/sdk/application/wearable/fd272/nativeapp/nativeui/sleep/src/SleepModel.cpp +++ b/code/sdk/application/wearable/fd272/nativeapp/nativeui/sleep/src/SleepModel.cpp @@ -390,7 +390,7 @@ namespace OHOS OHOS::SleepModel::GetInstance().set_sleep_total(sleep_total); OHOS::SleepModel::GetInstance().set_nap_total(nap_total); - WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, + WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "ReadSleepData sleepStr %u wakeStr %u sleep_total_time %d", sleep_fall_asleep_timestamp, sleep_wake_up_timestamp, sleep_total_time); @@ -417,7 +417,7 @@ namespace OHOS napwakeStr = "--"; } - WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, + WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "ReadSleepData sleepStr %s wakeStr %s sleep_total_time %d nap_total_time %d napsleepStr %s napwakeStr %s", sleepStr.c_str(), wakeStr.c_str(), sleep_total_time, nap_total_time, napsleepStr.c_str(), napwakeStr.c_str()); } @@ -657,7 +657,7 @@ namespace OHOS int goal_sleep = get_sleep_time_from_config_model(); int goal_wake = get_wake_up_time_from_config_model(); - WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "goal_sleep:%d goal_wake:%d", + WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "goal_sleep:%d goal_wake:%d", goal_sleep, goal_wake); /* -------------------------------------------------------------------------- */