Merge "Moved transport to IntDef"

This commit is contained in:
Jack Yu
2019-03-15 21:16:41 +00:00
committed by Android (Google) Code Review

View File

@@ -318,7 +318,8 @@ public class NetworkSelectSettings extends DashboardFragment {
// Try to get the network registration states
ServiceState ss = mTelephonyManager.getServiceState();
List<NetworkRegistrationState> networkList =
ss.getNetworkRegistrationStates(AccessNetworkConstants.TransportType.WWAN);
ss.getNetworkRegistrationStatesForTransportType(
AccessNetworkConstants.TRANSPORT_TYPE_WWAN);
if (networkList == null || networkList.size() == 0) {
// Remove the connected network operators category
mConnectedPreferenceCategory.setVisible(false);