mirror of
https://gitee.com/openharmony/ability_ability_runtime
synced 2024-11-23 15:20:34 +00:00
!5606 支持桌面在最近任务列表里显示
Merge pull request !5606 from HuangXW/launcherMission
This commit is contained in:
commit
07830cac21
@ -488,7 +488,7 @@ bool MissionListManager::CreateOrReusedMissionInfo(const AbilityRequest &ability
|
||||
|
||||
std::string missionName = GetMissionName(abilityRequest);
|
||||
auto mgr = DelayedSingleton<MissionInfoMgr>::GetInstance();
|
||||
if (needFind && !abilityRequest.abilityInfo.applicationInfo.isLauncherApp && mgr &&
|
||||
if (needFind && mgr &&
|
||||
mgr->FindReusedMissionInfo(missionName, abilityRequest.specifiedFlag, isFindRecentStandard, info)
|
||||
&& info.missionInfo.id > 0) {
|
||||
reUsedMissionInfo = true;
|
||||
@ -549,7 +549,7 @@ void MissionListManager::GetTargetMissionAndAbility(const AbilityRequest &abilit
|
||||
info.missionInfo.label = targetRecord->GetLabel();
|
||||
}
|
||||
|
||||
if (abilityRequest.abilityInfo.applicationInfo.isLauncherApp || abilityRequest.abilityInfo.excludeFromMissions) {
|
||||
if (abilityRequest.abilityInfo.excludeFromMissions) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user