From 7a2549248c7260be1a84e0e79c8aad026de9fdfa Mon Sep 17 00:00:00 2001 From: 18795846185 Date: Mon, 30 Jun 2025 10:13:20 +0800 Subject: [PATCH] idl appmgr Signed-off-by: 18795846185 Change-Id: I21feddae69ada60247942f4d9d7fe74cade2150a --- services/common/src/bundle_active_service.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/common/src/bundle_active_service.cpp b/services/common/src/bundle_active_service.cpp index 134ffb4..4e4c83a 100644 --- a/services/common/src/bundle_active_service.cpp +++ b/services/common/src/bundle_active_service.cpp @@ -194,7 +194,8 @@ bool BundleActiveService::SubscribeAppState() BUNDLE_ACTIVE_LOGE("SubscribeAppState appstateobserver is null, return"); return false; } - int32_t err = appManager->RegisterApplicationStateObserver(appStateObserver_); + std::vector bundleNameList = {}; + int32_t err = appManager->RegisterApplicationStateObserver(appStateObserver_, bundleNameList); if (err != 0) { BUNDLE_ACTIVE_LOGE("RegisterApplicationStateObserver failed. err:%{public}d", err); return false; -- Gitee