From b676a925dd9a28a85066619eae19176698b6f0fc Mon Sep 17 00:00:00 2001 From: 13776621730 Date: Tue, 29 Jul 2025 16:54:47 +0800 Subject: [PATCH 1/2] =?UTF-8?q?description:top50=20=E5=BA=94=E7=94=A8?= =?UTF-8?q?=E5=86=B7=E5=90=AF=E5=8A=A8error=E6=97=A5=E5=BF=97=E6=95=B4?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 13776621730 --- frameworks/native/ability/native/js_service_extension.cpp | 4 ++-- .../services/srms/include/bundle_info_resolve_util.h | 2 -- services/abilitymgr/src/ability_connect_manager.cpp | 2 +- services/abilitymgr/src/ability_manager_client.cpp | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/frameworks/native/ability/native/js_service_extension.cpp b/frameworks/native/ability/native/js_service_extension.cpp index a02c8f513f4..71382f12411 100644 --- a/frameworks/native/ability/native/js_service_extension.cpp +++ b/frameworks/native/ability/native/js_service_extension.cpp @@ -254,7 +254,7 @@ void JsServiceExtension::SystemAbilityStatusChangeListener::OnAddSystemAbility(i { TAG_LOGD(AAFwkTag::SERVICE_EXT, "systemAbilityId: %{public}d add", systemAbilityId); if (systemAbilityId == WINDOW_MANAGER_SERVICE_ID) { - TAG_LOGI(AAFwkTag::SERVICE_EXT, "RegisterDisplayInfoChangedListener"); + TAG_LOGD(AAFwkTag::SERVICE_EXT, "RegisterDisplayInfoChangedListener"); Rosen::WindowManager::GetInstance().RegisterDisplayInfoChangedListener(token_, tmpDisplayListener_); } } @@ -303,7 +303,7 @@ void JsServiceExtension::OnStart(const AAFwk::Want &want) { HITRACE_METER_NAME(HITRACE_TAG_ABILITY_MANAGER, __PRETTY_FUNCTION__); Extension::OnStart(want); - TAG_LOGI(AAFwkTag::SERVICE_EXT, "call"); + TAG_LOGD(AAFwkTag::SERVICE_EXT, "call"); auto context = GetContext(); if (context != nullptr) { diff --git a/service_router_framework/services/srms/include/bundle_info_resolve_util.h b/service_router_framework/services/srms/include/bundle_info_resolve_util.h index 4a67e82feb1..187985c4b17 100755 --- a/service_router_framework/services/srms/include/bundle_info_resolve_util.h +++ b/service_router_framework/services/srms/include/bundle_info_resolve_util.h @@ -99,7 +99,6 @@ private: static void ConvertAbilityToPurposes(const AbilityInfo &abilityInfo, std::vector &purposeInfos, const AppInfo &appInfo) { - TAG_LOGI(AAFwkTag::SER_ROUTER, "Called"); std::string supportPurpose = GetAbilityMetadataValue(abilityInfo, SrConstants::METADATA_SUPPORT_PURPOSE_KEY); if (supportPurpose.empty()) { return; @@ -124,7 +123,6 @@ private: static void ConvertExtAbilityToPurposes(const ExtensionAbilityInfo &extAbilityInfo, std::vector &purposeInfos, const AppInfo &appInfo) { - TAG_LOGI(AAFwkTag::SER_ROUTER, "Called"); if (extAbilityInfo.type != ExtensionAbilityType::FORM && extAbilityInfo.type != ExtensionAbilityType::UI) { return; } diff --git a/services/abilitymgr/src/ability_connect_manager.cpp b/services/abilitymgr/src/ability_connect_manager.cpp index 16065dfa384..5766508ffb7 100644 --- a/services/abilitymgr/src/ability_connect_manager.cpp +++ b/services/abilitymgr/src/ability_connect_manager.cpp @@ -986,7 +986,7 @@ int AbilityConnectManager::AttachAbilityThreadLocked( } CHECK_POINTER_AND_RETURN(abilityRecord, ERR_INVALID_VALUE); std::string element = abilityRecord->GetURI(); - TAG_LOGI(AAFwkTag::SERVICE_EXT, "ability:%{public}s", element.c_str()); + TAG_LOGD(AAFwkTag::SERVICE_EXT, "ability:%{public}s", element.c_str()); abilityRecord->RemoveLoadTimeoutTask(); AbilityRuntime::FreezeUtil::GetInstance().DeleteLifecycleEvent(token); abilityRecord->SetScheduler(scheduler); diff --git a/services/abilitymgr/src/ability_manager_client.cpp b/services/abilitymgr/src/ability_manager_client.cpp index 9e6d817ab10..c37651265db 100644 --- a/services/abilitymgr/src/ability_manager_client.cpp +++ b/services/abilitymgr/src/ability_manager_client.cpp @@ -648,7 +648,7 @@ ErrCode AbilityManagerClient::DisconnectAbility(sptr connect HITRACE_METER_NAME(HITRACE_TAG_ABILITY_MANAGER, __PRETTY_FUNCTION__); auto abms = GetAbilityManager(); CHECK_POINTER_RETURN_NOT_CONNECTED(abms); - TAG_LOGI(AAFwkTag::SERVICE_EXT, "DisconnectAbility call"); + TAG_LOGI(AAFwkTag::SERVICE_EXT, "DisconnectAbility"); return abms->DisconnectAbility(connect); } -- Gitee From 860a2f6242eefc138dfab5bd9ed6a78f3ae482f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9F=A5=E7=BB=B4?= Date: Tue, 29 Jul 2025 11:10:23 +0000 Subject: [PATCH 2/2] update services/abilitymgr/src/ability_connect_manager.cpp. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 查维 --- services/abilitymgr/src/ability_connect_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/abilitymgr/src/ability_connect_manager.cpp b/services/abilitymgr/src/ability_connect_manager.cpp index 5766508ffb7..16065dfa384 100644 --- a/services/abilitymgr/src/ability_connect_manager.cpp +++ b/services/abilitymgr/src/ability_connect_manager.cpp @@ -986,7 +986,7 @@ int AbilityConnectManager::AttachAbilityThreadLocked( } CHECK_POINTER_AND_RETURN(abilityRecord, ERR_INVALID_VALUE); std::string element = abilityRecord->GetURI(); - TAG_LOGD(AAFwkTag::SERVICE_EXT, "ability:%{public}s", element.c_str()); + TAG_LOGI(AAFwkTag::SERVICE_EXT, "ability:%{public}s", element.c_str()); abilityRecord->RemoveLoadTimeoutTask(); AbilityRuntime::FreezeUtil::GetInstance().DeleteLifecycleEvent(token); abilityRecord->SetScheduler(scheduler); -- Gitee