From 2e8cc0354bf99fd232d7299045bc60e7b2178987 Mon Sep 17 00:00:00 2001 From: Zhou Shihui Date: Thu, 11 Sep 2025 20:00:01 +0800 Subject: [PATCH] fix launcher fa Signed-off-by: Zhou Shihui --- services/bundlemgr/src/bundle_profile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/bundlemgr/src/bundle_profile.cpp b/services/bundlemgr/src/bundle_profile.cpp index 8879680351..313bebfa5d 100644 --- a/services/bundlemgr/src/bundle_profile.cpp +++ b/services/bundlemgr/src/bundle_profile.cpp @@ -2416,7 +2416,7 @@ bool ToInnerBundleInfo( if (std::find(skill.entities.begin(), skill.entities.end(), ServiceConstants::FLAG_HOME_INTENT_FROM_SYSTEM) != skill.entities.end() && transformParam.isPreInstallApp && - (abilityInfo.type == AbilityType::PAGE)) { + (abilityInfo.type == AbilityType::PAGE) && transformParam.isSystemApp) { applicationInfo.isLauncherApp = true; abilityInfo.isLauncherAbility = true; } -- Gitee