From cb921d41d44f8532265b2210b9d919c7727d1454 Mon Sep 17 00:00:00 2001 From: chenbingbing Date: Mon, 18 Nov 2024 15:35:38 +0800 Subject: [PATCH] =?UTF-8?q?publish=20twice=20notify=20remove=20=EF=BC=88ch?= =?UTF-8?q?erry=20picked=20commit=20from=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/samgr/native/source/system_ability_manager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/services/samgr/native/source/system_ability_manager.cpp b/services/samgr/native/source/system_ability_manager.cpp index c44de554..ec3d8c96 100644 --- a/services/samgr/native/source/system_ability_manager.cpp +++ b/services/samgr/native/source/system_ability_manager.cpp @@ -1044,6 +1044,7 @@ int32_t SystemAbilityManager::AddSystemAbility(int32_t systemAbilityId, const sp SystemAbilityInvalidateCache(systemAbilityId); auto callingPid = IPCSkeleton::GetCallingPid(); auto callingUid = IPCSkeleton::GetCallingUid(); + SendSystemAbilityRemovedMsg(systemAbilityId); HILOGW("SA:%{public}d is being covered, callPid:%{public}d, callUid:%{public}d", systemAbilityId, callingPid, callingUid); } -- Gitee