From 37ea910705bc65eb7b95da9b326d7f694ab7cbe7 Mon Sep 17 00:00:00 2001 From: chen Date: Tue, 26 Apr 2022 04:12:35 +0000 Subject: [PATCH] test --- services/samgr/native/source/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/samgr/native/source/main.cpp b/services/samgr/native/source/main.cpp index 820b6b8d..5885c90d 100755 --- a/services/samgr/native/source/main.cpp +++ b/services/samgr/native/source/main.cpp @@ -29,7 +29,8 @@ int main(int argc, char *argv[]) OHOS::sptr manager = OHOS::SystemAbilityManager::GetInstance(); manager->Init(); OHOS::sptr serv = manager->AsObject(); - IPCSkeleton::SetContextObject(serv); + bool ret = IPCSkeleton::SetContextObject(serv); + HILOGI("SetContextObject ret : %{public}d", ret); HILOGI("start System Ability Manager Loop"); OHOS::IPCSkeleton::JoinWorkThread(); -- Gitee