mirror of
https://gitee.com/openharmony/telephony_core_service
synced 2025-02-16 23:37:45 +00:00
!1346 修复搜网无返回时CallBack超时返回_master
Merge pull request !1346 from Aurora/master
This commit is contained in:
commit
3aa1a82d8a
@ -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