From 32de17f7f410a9f89c640c8753d8069d3107d82e Mon Sep 17 00:00:00 2001 From: luozheng <1732036298@qq.com> Date: Wed, 1 Apr 2026 17:33:15 +0800 Subject: [PATCH] =?utf8?q?=E6=98=9F=E5=8E=86=E4=B8=8B=E8=BD=BD=E5=BC=B9?= =?utf8?q?=E7=AA=97=E8=87=AA=E5=8A=A8=E6=B6=88=E5=A4=B1=E6=94=B9=E4=B8=BA6?= =?utf8?q?0=E7=A7=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../fd272/service/msg_center/src/notify/transmitting.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/code/sdk/application/wearable/fd272/service/msg_center/src/notify/transmitting.cpp b/code/sdk/application/wearable/fd272/service/msg_center/src/notify/transmitting.cpp index d52a76e7b..7363d51ff 100644 --- a/code/sdk/application/wearable/fd272/service/msg_center/src/notify/transmitting.cpp +++ b/code/sdk/application/wearable/fd272/service/msg_center/src/notify/transmitting.cpp @@ -242,15 +242,14 @@ namespace OHOS NotificationManager::GetInstance()->StopNotify(); } - static uint8_t epo_timer_falg=20; + static uint8_t epo_timer_falg=60; static bool epo_success_handled = false; void epo_timerCallBack(int data) { - //给15s时间,等待EPO文件解压完成,超过15s不管成功与否,都停止通知 WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "epo_timerCallBack epo_timer_falg = %d", epo_timer_falg); if(epo_timer_falg<=0) { - epo_timer_falg=20; + epo_timer_falg=60; NotificationManager::GetInstance()->StopNotify(); } else @@ -1386,7 +1385,7 @@ namespace OHOS osTimerStop(transmitting_timer); osTimerDelete(transmitting_timer); transmitting_timer = NULL; - epo_timer_falg=20; + epo_timer_falg=60; } epo_success_handled = false; transmitting_timer = osTimerNew((osTimerFunc_t)epo_timerCallBack, osTimerPeriodic, NULL, NULL); -- 2.17.1