!377 support mission label updated

Merge pull request !377 from ccll/master
This commit is contained in:
openharmony_ci 2022-09-09 08:06:13 +00:00 committed by Gitee
commit a925c2f070
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 11 additions and 0 deletions

View File

@ -70,6 +70,13 @@ public:
* @param missionId, mission Id. * @param missionId, mission Id.
*/ */
virtual void OnMissionClosed(int32_t missionId) override; 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 DistributedSchedule
} // namespace OHOS } // namespace OHOS

View File

@ -59,5 +59,9 @@ void DistributedMissionChangeListener::OnMissionIconUpdated(int32_t missionId,
void DistributedMissionChangeListener::OnMissionClosed(int32_t missionId) void DistributedMissionChangeListener::OnMissionClosed(int32_t missionId)
{ {
} }
void DistributedMissionChangeListener::OnMissionLabelUpdated(int32_t missionId)
{
}
} }
} }