Signed-off-by: caochunlei <caochunlei1@huawei.com>
This commit is contained in:
caochunlei 2022-07-21 16:07:53 +08:00
parent 15ca266e35
commit fec4b41553

View File

@ -380,7 +380,7 @@ void MissionListManager::GetTargetMissionAndAbility(const AbilityRequest &abilit
info.missionInfo.want = abilityRequest.want;
auto element = info.missionInfo.want.GetElement();
if (element.GetBundleName().empty() || element.GetAbilityName().empty()) {
info.missionInfo.SetElementName(abilityRequest.abilityInfo.bundleName, abilityRequest.abilityInfo.name);
info.missionInfo.want.SetElementName(abilityRequest.abilityInfo.bundleName, abilityRequest.abilityInfo.name);
}
if (!findReusedMissionInfo) {