From 3a29174cb38de8e5b2d4d0bdc84bfd92a70fab82 Mon Sep 17 00:00:00 2001 From: laokz <2653412+laokz@user.noreply.gitee.com> Date: Wed, 13 Oct 2021 13:39:35 +0000 Subject: [PATCH] =?UTF-8?q?chore(BundleDaemon::Init):=20=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E5=AE=8F=E4=BD=BF=E7=94=A8=20=E6=A0=B9?= =?UTF-8?q?=E6=8D=AERegisterDefaultFeatureApi=E8=B0=83=E7=94=A8=E6=88=90?= =?UTF-8?q?=E5=8A=9F=E4=B8=8E=E5=90=A6=EF=BC=8C=20=E5=88=86=E5=88=AB?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E5=AF=B9=E5=BA=94=E7=9A=84=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E5=AE=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: laokz --- services/bundlemgr_lite/bundle_daemon/src/bundle_daemon.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/services/bundlemgr_lite/bundle_daemon/src/bundle_daemon.cpp b/services/bundlemgr_lite/bundle_daemon/src/bundle_daemon.cpp index 3d4c436..a38c2c9 100644 --- a/services/bundlemgr_lite/bundle_daemon/src/bundle_daemon.cpp +++ b/services/bundlemgr_lite/bundle_daemon/src/bundle_daemon.cpp @@ -51,7 +51,11 @@ static void Init() return; } result = samgrLite->RegisterDefaultFeatureApi(BDS_SERVICE, GET_IUNKNOWN(g_defaultApi)); - PRINTE("BundleDaemon", "register default feature api %{public}s", result ? "success" : "fail"); + if (!result) { + PRINTE("BundleDaemon", "register default feature api fail"); + } else { + PRINTI("BundleDaemon", "register default feature api success"); + } } SYSEX_SERVICE_INIT(Init); -- Gitee