From: luozheng <1732036298@qq.com> Date: Wed, 1 Apr 2026 09:33:15 +0000 (+0800) Subject: 星历下载弹窗自动消失改为60秒 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=32de17f7f410a9f89c640c8753d8069d3107d82e;p=mirrors%2FFD230.git 星历下载弹窗自动消失改为60秒 --- 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);