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

Commit 60c64bf7 authored by Jack Yu's avatar Jack Yu
Browse files

Fixed that type of data call response status

Fixed the incorrect type for SetupDataCallResult.status.
Changed the type from int_32 to DataCallFailCause

Test: Telephony sanity tests
bug: 32224135
Change-Id: I152872a83f61a1829c67a4d7effed4ce4113087f
parent b541affa
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -1281,11 +1281,11 @@ struct SendSmsResult {
};

struct SetupDataCallResult {
    int32_t status;                       // A RadioDataCallFailCause, 0 which is
                                          // RadioDataCallFailCause:NONE if no error
    int32_t suggestedRetryTime;           // If status != 0, this fields indicates the suggested
                                          // retry back-off timer value RIL wants to override the
                                          // one pre-configured in FW.
    DataCallFailCause status;             // Data call fail cause. DataCallFailCause.NONE if no
                                          // error.
    int32_t suggestedRetryTime;           // If status != DataCallFailCause.NONE, this field
                                          // indicates the suggested retry back-off timer value RIL
                                          // wants to override the one pre-configured in FW.
                                          // The unit is milliseconds.
                                          // The value < 0 means no value is suggested.
                                          // The value 0 means retry must be done ASAP.
@@ -1296,8 +1296,8 @@ struct SetupDataCallResult {
    string type;                          // One of the PDP_type values in TS 27.007 section 10.1.1.
                                          // For example, "IP", "IPV6", "IPV4V6", or "PPP". If
                                          // status is
                                          // RadioDataCallFailCause:ONLY_SINGLE_BEARER_ALLOWED this
                                          // is the type supported such as "IP" or "IPV6"
                                          // DataCallFailCause.ONLY_SINGLE_BEARER_ALLOWED, this
                                          // is the type supported such as "IP" or "IPV6".
    string ifname;                        // The network interface name
    string addresses;                     // A space-delimited list of addresses with optional "/"
                                          // prefix length, e.g., "192.0.1.3" or