[Wi-Fi] Replace some WifiEntryShell methods with WifiEntry version
These WifiEntryShell methods are removed: getNetworkId hiddenSSID isPasspoint Bug: 143326832 Test: build Change-Id: I6642992a90ea18328817cb58931cc370045b1e56
This commit is contained in:
@@ -341,7 +341,7 @@ public class WifiConfigController2 implements TextWatcher,
|
||||
|
||||
if ((!mWifiEntry.isSaved()
|
||||
&& mWifiEntry.getConnectedState() != WifiEntry.CONNECTED_STATE_CONNECTED
|
||||
&& !WifiEntryShell.isPasspoint(mWifiEntry))
|
||||
&& !mWifiEntry.isSubscription())
|
||||
|| mMode != WifiConfigUiBase2.MODE_VIEW) {
|
||||
showSecurityFields(/* refreshEapMethods */ true, /* refreshCertificates */ true);
|
||||
showIpConfigFields();
|
||||
@@ -417,7 +417,7 @@ public class WifiConfigController2 implements TextWatcher,
|
||||
}
|
||||
if (mWifiEntry.isSaved()
|
||||
|| mWifiEntry.getConnectedState() == WifiEntry.CONNECTED_STATE_CONNECTED
|
||||
|| WifiEntryShell.isPasspoint(mWifiEntry)) {
|
||||
|| mWifiEntry.isSubscription()) {
|
||||
mConfigUi.setForgetButton(res.getString(R.string.wifi_forget));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user