From 8cf3077a2564eece1b93b041125126b76f00c3d1 Mon Sep 17 00:00:00 2001 From: h60047265 Date: Sat, 22 Mar 2025 18:20:44 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=9B=9E=E8=B0=83=E4=B8=A4?= =?UTF-8?q?=E6=AC=A1=EF=BC=88=E5=8F=AA=E7=94=A8=E4=B8=80=E4=B8=AA=E7=9B=91?= =?UTF-8?q?=E5=90=AC=E5=99=A8=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: h60047265 --- 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 31b1f34f..8ca5ab86 100644 --- a/services/samgr/native/source/system_ability_manager.cpp +++ b/services/samgr/native/source/system_ability_manager.cpp @@ -1098,6 +1098,7 @@ int32_t SystemAbilityManager::AddSystemAbility(int32_t systemAbilityId, const sp if (abilityMap_.count(systemAbilityId) > 0) { 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