Moved transport to IntDef
Moved out from the sub class per API review feedback. Test: Build Bug: 128607082 Change-Id: I4c476b61b472a9ce706ffe9e52da47e26b0b6dcf
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user