星历下载弹窗自动消失改为60秒 3325/1 3325/head 3326/target/1
authorluozheng <1732036298@qq.com>
Wed, 1 Apr 2026 09:33:15 +0000 (17:33 +0800)
committerluozheng <1732036298@qq.com>
Wed, 1 Apr 2026 09:33:15 +0000 (17:33 +0800)
code/sdk/application/wearable/fd272/service/msg_center/src/notify/transmitting.cpp

index d52a76e..7363d51 100644 (file)
@@ -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);