!11672 支持热启后关闭应用时解绑并销毁独立进程

Merge pull request !11672 from 张昊峥/hot_cache
This commit is contained in:
openharmony_ci 2024-11-20 08:23:27 +00:00 committed by Gitee
commit 2111c1b8dc
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -281,11 +281,6 @@ bool CacheProcessManager::IsProcessSupportHotStart(const std::shared_ptr<AppRunn
appRecord->GetName().c_str(), actualVer);
return false;
}
if (IsAppContainsSrvExt(appRecord)) {
TAG_LOGD(AAFwkTag::APPMGR, "%{public}s of %{public}s is service, not support cache",
appRecord->GetProcessName().c_str(), appRecord->GetBundleName().c_str());
return false;
}
if (!appRecord->HasUIAbilityLaunched()) {
TAG_LOGD(AAFwkTag::APPMGR, "%{public}s of %{public}s has not created uiability before.",
appRecord->GetProcessName().c_str(), appRecord->GetBundleName().c_str());