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

Commit 299d90d4 authored by Jack Yu's avatar Jack Yu
Browse files

Revert "Exclude IWLAN from the checks"

This reverts commit 99c7aa38.

Reason for revert: more changes needed

Change-Id: I943b698d8a30e37c3e4b89ce0ec45638416bb903
parent 99c7aa38
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -1659,10 +1659,7 @@ public class DataConnection extends StateMachine {
        TelephonyDisplayInfo displayInfo = mPhone.getDisplayInfoController()
                .getTelephonyDisplayInfo();
        int overrideNetworkType = displayInfo.getOverrideNetworkType();
        NetworkRegistrationInfo nri =  mPhone.getServiceState().getNetworkRegistrationInfo(
                NetworkRegistrationInfo.DOMAIN_PS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN);
        int networkType = nri == null ? TelephonyManager.NETWORK_TYPE_UNKNOWN
                : nri.getAccessNetworkTechnology();
        int networkType = mPhone.getServiceState().getDataNetworkType();
        return networkType == TelephonyManager.NETWORK_TYPE_NR
                || ((networkType == TelephonyManager.NETWORK_TYPE_LTE
                || networkType == TelephonyManager.NETWORK_TYPE_LTE_CA)