Loading src/java/com/android/internal/telephony/dataconnection/DataConnection.java +1 −4 Original line number Diff line number Diff line Loading @@ -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) Loading Loading
src/java/com/android/internal/telephony/dataconnection/DataConnection.java +1 −4 Original line number Diff line number Diff line Loading @@ -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) Loading