热启缓存

Signed-off-by: zhang_hao_zheng <zhanghaozheng2@h-partners.com>
Change-Id: I8ffc921e11311ad62c1695ef9e77e22b28d8c14c
This commit is contained in:
zhang_hao_zheng 2024-11-19 19:11:29 +08:00
parent 8ec347d055
commit 38548cc8ba

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());