[Wi-Fi] Replace WifiEntryShell#getSecurityString with WifiEntry#getSecurityString

Bug: 143326832
Bug: 146407136
Bug: 147781156
Test: manual
      Check if security information correct

Change-Id: I32c247763783a38fed14eb06de863d9819cd6bdd
This commit is contained in:
Arc Wang
2020-01-17 17:12:05 +08:00
parent af2e3afb04
commit 33c6e65371
3 changed files with 2 additions and 9 deletions

View File

@@ -411,7 +411,7 @@ public class WifiConfigController2 implements TextWatcher,
}
addRow(group, R.string.wifi_security,
WifiEntryShell.getSecurityString(mWifiEntry, false));
mWifiEntry.getSecurityString(false /* concise */));
mView.findViewById(R.id.ip_fields).setVisibility(View.GONE);
}
if (mWifiEntry.isSaved()