projects
/
mirrors
/
FD230.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7af0c1
)
同步配置
710/1
710/head
author
Caisking
<3449750381@qq.com>
Fri, 16 Aug 2024 10:22:15 +0000
(18:22 +0800)
committer
Caisking
<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
patch
|
blob
|
history
code/sdk/application/wearable/service/msg_center/src/notify/message_notification.cpp
patch
|
blob
|
history
diff --git
a/code/sdk/application/wearable/service/msg_center/src/msg_center_customer.cpp
b/code/sdk/application/wearable/service/msg_center/src/msg_center_customer.cpp
index
be9207f
..
b386586
100644
(file)
--- a/
code/sdk/application/wearable/service/msg_center/src/msg_center_customer.cpp
+++ b/
code/sdk/application/wearable/service/msg_center/src/msg_center_customer.cpp
@@
-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
diff --git
a/code/sdk/application/wearable/service/msg_center/src/notify/message_notification.cpp
b/code/sdk/application/wearable/service/msg_center/src/notify/message_notification.cpp
index
dd6b719
..
599b2cd
100644
(file)
--- a/
code/sdk/application/wearable/service/msg_center/src/notify/message_notification.cpp
+++ b/
code/sdk/application/wearable/service/msg_center/src/notify/message_notification.cpp
@@
-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;