mirror of
https://gitee.com/openharmony/ability_ability_runtime
synced 2024-12-21 16:45:47 +00:00
Signed-off-by: caochunlei <caochunlei1@huawei.com>
This commit is contained in:
parent
15ca266e35
commit
fec4b41553
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user