From 45c704ce540c6b123557543694715247ee4d726a Mon Sep 17 00:00:00 2001 From: wangdengjia Date: Tue, 4 Jan 2022 16:23:54 +0800 Subject: [PATCH] IssueNo:#I4PAWF Description:Solve blue screen problem Sig:appexecfwk Feature or Bugfix:Bugfix Binary Source:No Signed-off-by: wangdengjia Change-Id: Id64e3a534162db5b2358f83134f3935aa8aa450b --- services/bundlemgr_lite/src/bundle_daemon_client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/bundlemgr_lite/src/bundle_daemon_client.cpp b/services/bundlemgr_lite/src/bundle_daemon_client.cpp index b2367a0..0d928e5 100755 --- a/services/bundlemgr_lite/src/bundle_daemon_client.cpp +++ b/services/bundlemgr_lite/src/bundle_daemon_client.cpp @@ -203,7 +203,7 @@ int32_t BundleDaemonClient::RegisterCallback() IpcIoInit(&request, data, IPC_IO_DATA_MAX, 1); IpcIoPushSvc(&request, &svcIdentity_); #ifdef __LINUX__ - while (bdsClient_->Invoke(bdsClient_, REGISTER_CALLBACK, &request, this, Notify) != EC_SUCCESS) { + while (bdsClient_->Invoke(bdsClient_, REGISTER_CALLBACK, &request, this, Notify) != EC_SUCCESS || result_ != EC_SUCCESS) { #else while (bdsClient_->Invoke(bdsClient_, REGISTER_CALLBACK, &request, nullptr, nullptr) != EC_SUCCESS) { #endif -- Gitee