Remove those stuff about CarrierAp, they are removed from FW.
Bug: 130875004 Test: atest SettingsRoboTests Change-Id: I549eabd1699a617dd6e639b725ade361c64d5a67
This commit is contained in:
@@ -347,18 +347,11 @@ public class WifiConfigController implements TextWatcher,
|
||||
showProxyFields();
|
||||
final CheckBox advancedTogglebox =
|
||||
(CheckBox) mView.findViewById(R.id.wifi_advanced_togglebox);
|
||||
mView.findViewById(R.id.wifi_advanced_toggle).setVisibility(
|
||||
mAccessPoint.isCarrierAp() ? View.GONE : View.VISIBLE);
|
||||
advancedTogglebox.setOnCheckedChangeListener(this);
|
||||
advancedTogglebox.setChecked(showAdvancedFields);
|
||||
setAdvancedOptionAccessibilityString(showAdvancedFields);
|
||||
mView.findViewById(R.id.wifi_advanced_fields)
|
||||
.setVisibility(showAdvancedFields ? View.VISIBLE : View.GONE);
|
||||
if (mAccessPoint.isCarrierAp()) {
|
||||
addRow(group, R.string.wifi_carrier_connect,
|
||||
String.format(mContext.getString(R.string.wifi_carrier_content),
|
||||
mAccessPoint.getCarrierName()));
|
||||
}
|
||||
}
|
||||
|
||||
if (mMode == WifiConfigUiBase.MODE_MODIFY) {
|
||||
@@ -1068,12 +1061,6 @@ public class WifiConfigController implements TextWatcher,
|
||||
}
|
||||
}
|
||||
|
||||
if (mAccessPointSecurity != AccessPoint.SECURITY_EAP_SUITE_B
|
||||
&& mAccessPoint != null
|
||||
&& mAccessPoint.isCarrierAp()) {
|
||||
mEapMethodSpinner.setSelection(mAccessPoint.getCarrierApEapType());
|
||||
}
|
||||
|
||||
if (refreshCertificates) {
|
||||
loadCertificates(
|
||||
mEapCaCertSpinner,
|
||||
@@ -1263,9 +1250,6 @@ public class WifiConfigController implements TextWatcher,
|
||||
setUserCertInvisible();
|
||||
setPasswordInvisible();
|
||||
setIdentityInvisible();
|
||||
if (mAccessPoint != null && mAccessPoint.isCarrierAp()) {
|
||||
setEapMethodInvisible();
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user