diff --git a/services/appmgr/src/cache_process_manager.cpp b/services/appmgr/src/cache_process_manager.cpp index ccfc77618e..1a26dae8b4 100644 --- a/services/appmgr/src/cache_process_manager.cpp +++ b/services/appmgr/src/cache_process_manager.cpp @@ -281,11 +281,6 @@ bool CacheProcessManager::IsProcessSupportHotStart(const std::shared_ptrGetName().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());