From d2fcbd0c6538a86aaea0b87fe949d9fc2e746ccf Mon Sep 17 00:00:00 2001 From: caochunlei Date: Thu, 8 Sep 2022 11:13:45 +0800 Subject: [PATCH] caochunlei1@huawei.com Signed-off-by: caochunlei --- .../include/mission/distributed_mission_change_listener.h | 7 +++++++ .../src/mission/distributed_mission_change_listener.cpp | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/services/dtbschedmgr/include/mission/distributed_mission_change_listener.h b/services/dtbschedmgr/include/mission/distributed_mission_change_listener.h index 1e2f7fde..63179ec6 100644 --- a/services/dtbschedmgr/include/mission/distributed_mission_change_listener.h +++ b/services/dtbschedmgr/include/mission/distributed_mission_change_listener.h @@ -70,6 +70,13 @@ public: * @param missionId, mission Id. */ virtual void OnMissionClosed(int32_t missionId) override; + + /** + * @brief When a mission's label changed, AbilityMs notifies the listener of the mission id + * + * @param missionId, mission Id. + */ + virtual void OnMissionLabelUpdated(int32_t missionId) override; }; } // namespace DistributedSchedule } // namespace OHOS diff --git a/services/dtbschedmgr/src/mission/distributed_mission_change_listener.cpp b/services/dtbschedmgr/src/mission/distributed_mission_change_listener.cpp index 011589db..86e077fa 100644 --- a/services/dtbschedmgr/src/mission/distributed_mission_change_listener.cpp +++ b/services/dtbschedmgr/src/mission/distributed_mission_change_listener.cpp @@ -59,5 +59,9 @@ void DistributedMissionChangeListener::OnMissionIconUpdated(int32_t missionId, void DistributedMissionChangeListener::OnMissionClosed(int32_t missionId) { } + +void DistributedMissionChangeListener::OnMissionLabelUpdated(int32_t missionId) +{ +} } }