#534,解决闹钟设置多个闹钟,只响第一个,后续的没有提示闹钟bug 938/1 938/head
authorluozheng <1732036298@qq.com>
Tue, 10 Sep 2024 12:41:53 +0000 (20:41 +0800)
committerluozheng <1732036298@qq.com>
Tue, 10 Sep 2024 12:41:53 +0000 (20:41 +0800)
code/sdk/application/wearable/service/msg_center/src/notify/alarm_notification.cpp

index 23bfa9e..db4838d 100755 (executable)
@@ -26,7 +26,7 @@ namespace OHOS
     constexpr int32_t NOTIFY_ONE_SECOND = 1000;
     constexpr int32_t NOTIFY_THIRTY_SECONDS = 30 * 1000; // 30秒
     constexpr int32_t NOTIFY_ONE_MINUTE = 60 * 1000;
-    static int popalarm_time = 60;
+    static int popalarm_time = 50;
     constexpr int32_t NOTOFY_NO_OPERATE_TIME = 30 * 1000; // 无操作30s超时时间
     osTimerId_t g_notifyStopHandle = nullptr;             // timer of close view and alarm ring view
     osTimerId_t g_alarmRing = nullptr;                    // timer of alarm view
@@ -215,7 +215,7 @@ namespace OHOS
                     return;
                 }
                 g_alarmRing = nullptr;
-                popalarm_time = 60;
+                popalarm_time = 50;
             }
             break;
         default: