From 8b323f359def2dbd48bd12a6a2aff4220fecc61a Mon Sep 17 00:00:00 2001 From: 18795846185 Date: Mon, 30 Jun 2025 11:08:39 +0800 Subject: [PATCH] app running with idl Signed-off-by: 18795846185 Change-Id: I6fa38a480f1af278a5a9b61e5a5c42f739a4f255 --- services/common/src/bundle_active_service.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/common/src/bundle_active_service.cpp b/services/common/src/bundle_active_service.cpp index a6da2d8..e85f140 100644 --- a/services/common/src/bundle_active_service.cpp +++ b/services/common/src/bundle_active_service.cpp @@ -194,7 +194,7 @@ bool BundleActiveService::SubscribeAppState() BUNDLE_ACTIVE_LOGE("SubscribeAppState appstateobserver is null, return"); return false; } - int32_t err = appManager->RegisterApplicationStateObserver(appStateObserver_); + int32_t err = appManager->RegisterApplicationStateObserver(appStateObserver_, {}); if (err != 0) { BUNDLE_ACTIVE_LOGE("RegisterApplicationStateObserver failed. err:%{public}d", err); return false; -- Gitee