同步配置 710/1 710/head
authorCaisking <3449750381@qq.com>
Fri, 16 Aug 2024 10:22:15 +0000 (18:22 +0800)
committerCaisking <3449750381@qq.com>
Fri, 16 Aug 2024 10:22:15 +0000 (18:22 +0800)
code/sdk/application/wearable/service/msg_center/src/msg_center_customer.cpp
code/sdk/application/wearable/service/msg_center/src/notify/message_notification.cpp

index be9207f..b386586 100644 (file)
@@ -721,7 +721,7 @@ void MsgCenterNotifySleepProc(const Topic topic, Request* req)
         NotificationManager::GetInstance()->SetNotifyPriority(PRIORITY_TWO);
         if(true != ConfigModel::GetInstance()->GetDnotdisturb())
         {
-            AlarmClockModel::GetInstance()->PopInterPlayMusic();
+            SleepViewEventListener::GetInstance().PopInterPlayMusic();
         }
     }
     else
index dd6b719..599b2cd 100644 (file)
@@ -206,7 +206,7 @@ namespace OHOS
             ui_api_vibrate_once_func();
         }
         
-        ScreenTurnOn(2000); // 亮屏操作 2000ms 2秒关闭         
+        ScreenTurnOn(3000); // 亮屏操作 3000ms 3秒关闭         
         WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "Create MessageGroupView succeed!!");
         NotificationManager::GetInstance()->RegisterNotifyCleanupFunction(FreeMessageView);
         return MessageGroupView;