From 38548cc8ba37e432ddb23637c702e4720af69eaa Mon Sep 17 00:00:00 2001 From: zhang_hao_zheng Date: Tue, 19 Nov 2024 19:11:29 +0800 Subject: [PATCH] =?UTF-8?q?=E7=83=AD=E5=90=AF=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhang_hao_zheng Change-Id: I8ffc921e11311ad62c1695ef9e77e22b28d8c14c --- services/appmgr/src/cache_process_manager.cpp | 5 ----- 1 file changed, 5 deletions(-) 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());