diff --git a/services/samgr/native/source/main.cpp b/services/samgr/native/source/main.cpp index 820b6b8d67f9ca3e14cc37ab1e3796a463a58f02..5885c90d3829f66f6ee4e565b5dc634b0ca5aab3 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();