diff --git a/services/bundlemgr/src/module_profile.cpp b/services/bundlemgr/src/module_profile.cpp index 9f9f848b9a82c9b97118f128a1c0f70fcb7ab5a7..3ea3d29a0988e9854c74388a1f29d96855ade436 100644 --- a/services/bundlemgr/src/module_profile.cpp +++ b/services/bundlemgr/src/module_profile.cpp @@ -2780,7 +2780,7 @@ bool ToInnerBundleInfo( // get launcher application and ability bool isLauncherEntity = std::find(skill.entities.begin(), skill.entities.end(), ServiceConstants::FLAG_HOME_INTENT_FROM_SYSTEM) != skill.entities.end(); - if (isLauncherEntity && transformParam.isPreInstallApp) { + if (isLauncherEntity && transformParam.isPreInstallApp && transformParam.isSystemApp) { applicationInfo.isLauncherApp = true; abilityInfo.isLauncherAbility = true; APP_LOGI_NOFUNC("startWindowIconId %{public}s_%{public}s_%{public}s_%{public}d",