mirror of
https://github.com/team-infusion-developers/android_hardware_samsung.git
synced 2024-11-06 21:55:41 +00:00
ril: debug
Change-Id: I421abf8b2e4cae3bccdd08a9f3af15916629c57c
This commit is contained in:
parent
e7eab5f906
commit
88129f0024
1 changed files with 2 additions and 1 deletions
|
@ -3966,7 +3966,8 @@ IccIoResult responseIccIo(RadioResponseInfo& responseInfo, int serial, int respo
|
|||
populateResponseInfo(responseInfo, serial, responseType, e);
|
||||
IccIoResult result = {};
|
||||
|
||||
if (response == NULL || responseLen != sizeof(RIL_SIM_IO_Response)) {
|
||||
RLOGE("%s: responseLen=%d (should be %d)", __func__, responseLen, sizeof(RIL_SIM_IO_Response));
|
||||
if (response == NULL || responseLen < sizeof(RIL_SIM_IO_Response)) {
|
||||
RLOGE("Invalid response: NULL");
|
||||
if (e == RIL_E_SUCCESS) responseInfo.error = RadioError::INVALID_RESPONSE;
|
||||
result.simResponse = hidl_string();
|
||||
|
|
Loading…
Reference in a new issue