Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c0f6c529 authored by Devci Telephony's avatar Devci Telephony Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Fix rild socket disconnect issue." into atel.lnx.2.0-dev

parents ee2aaed4 802c9af5
Loading
Loading
Loading
Loading
+15 −11
Original line number Diff line number Diff line
@@ -420,6 +420,7 @@ public class TelephonyEventLog extends ConnectivityMetricsLogger {
        if (rilError != 0) b.putInt(DATA_KEY_RIL_ERROR, rilError);
        switch (rilRequest) {
            case RIL_REQUEST_SETUP_DATA_CALL:
                if (ret != null) {
                    DataCallResponse dataCall = (DataCallResponse)ret;
                    b.putInt(DATA_KEY_DATA_CALL_STATUS, dataCall.status);
                    b.putInt(DATA_KEY_DATA_CALL_RETRY, dataCall.suggestedRetryTime);
@@ -427,6 +428,7 @@ public class TelephonyEventLog extends ConnectivityMetricsLogger {
                    b.putInt(DATA_KEY_DATA_CALL_ACTIVE, dataCall.active);
                    b.putString(DATA_KEY_DATA_CALL_TYPE, dataCall.type);
                    b.putString(DATA_KEY_DATA_CALL_IFNAME, dataCall.ifname);
                }
                writeEvent(TAG_RIL_RESPONSE, rilRequest, rilSerial, b);
                break;

@@ -443,10 +445,12 @@ public class TelephonyEventLog extends ConnectivityMetricsLogger {
            case RIL_REQUEST_SEND_SMS_EXPECT_MORE:
            case RIL_REQUEST_CDMA_SEND_SMS:
            case RIL_REQUEST_IMS_SEND_SMS:
                if (ret != null) {
                    SmsResponse smsResponse = (SmsResponse)ret;
                    b.putInt(DATA_KEY_SMS_MESSAGE_REF, smsResponse.mMessageRef);
                    b.putString(DATA_KEY_SMS_ACK_PDU, smsResponse.mAckPdu);
                    b.putInt(DATA_KEY_SMS_ERROR_CODE, smsResponse.mErrorCode);
                }
                writeEvent(TAG_RIL_RESPONSE, rilRequest, rilSerial, b);
                break;
        }