mirror of
https://gitee.com/openharmony/telephony_core_service
synced 2025-02-20 01:21:02 +00:00
IssueNo:修复搜网无返回时CallBack超时返回
Description:修复搜网无返回时CallBack超时返回 Sig:SIG_Telephony Feature or Bugfix: Feature Binary Source: No Signed-off-by: liuxiyao223 <liuxiyao223@huawei.com>
This commit is contained in:
parent
339d3ff7d9
commit
cfb52f341c
@ -26,6 +26,7 @@
|
||||
#include "network_search_types.h"
|
||||
#include "radio_event.h"
|
||||
#include "securec.h"
|
||||
#include "telephony_errors.h"
|
||||
#include "telephony_log_wrapper.h"
|
||||
|
||||
namespace OHOS {
|
||||
@ -338,7 +339,10 @@ bool EventSender::Send(
|
||||
TELEPHONY_LOGE("EventSender::Send telRilManager_.get() is null.");
|
||||
return false;
|
||||
}
|
||||
(telRilManager_.get()->*rilFuncPointer)(slotId, args..., event);
|
||||
if ((telRilManager_.get()->*rilFuncPointer)(slotId, args..., event) != TELEPHONY_ERR_SUCCESS) {
|
||||
TELEPHONY_LOGE("EventSender::Send process ril function error.");
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
} // namespace Telephony
|
||||
|
Loading…
x
Reference in New Issue
Block a user