mirror of
https://github.com/openharmony/miscservices_time.git
synced 2026-07-19 20:03:38 -04:00
Signed-off-by: lovechinamo <wangdongqi2@huawei.com>
Changes to be committed:
This commit is contained in:
@@ -121,7 +121,7 @@ void NtpUpdateTime::SubscriberNITZTimeChangeCommonEvent()
|
||||
{
|
||||
// Broadcast subscription
|
||||
MatchingSkills matchingSkills;
|
||||
matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_NITZ_TIME_CHANGED);
|
||||
matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_NITZ_TIME_UPDATED);
|
||||
CommonEventSubscribeInfo subscriberInfo(matchingSkills);
|
||||
std::shared_ptr<NITZSubscriber> subscriberPtr =
|
||||
std::make_shared<NITZSubscriber>(subscriberInfo);
|
||||
|
||||
Reference in New Issue
Block a user