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

Commit 440c27dc authored by Wei Liu's avatar Wei Liu Committed by Amit Mahajan
Browse files

roamingProtocol should be used for roaming.

b/24215857

Change-Id: Ic7371b4e84a19d095f3e544c94658456184cb4ea
(cherry picked from commit 4c3aa35e)
parent 84d51c67
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -71,7 +71,7 @@ public class DataProfile {
    }

    DataProfile(ApnSetting apn, boolean isRoaming) {
        this(apn.profileId, apn.apn, isRoaming? apn.protocol : apn.roamingProtocol,
        this(apn.profileId, apn.apn, isRoaming? apn.roamingProtocol : apn.protocol,
                apn.authType, apn.user, apn.password, apn.bearerBitmask == 0 ? TYPE_COMMON :
                        (ServiceState.hasCdma(apn.bearerBitmask) ? TYPE_3GPP2 : TYPE_3GPP),
                apn.maxConnsTime, apn.maxConns, apn.waitTime, apn.carrierEnabled);