Use the ephemeral flag in the AccessPoint to mark a
connection as a Wifi Assistant connection. Change-Id: Ife26f6799a5b9e4640181d150edb7455adf38f0f
This commit is contained in:
@@ -254,14 +254,14 @@ public class WifiConfigController implements TextWatcher,
|
||||
mConfigUi.setSubmitButton(res.getString(R.string.wifi_connect));
|
||||
} else {
|
||||
if (state != null) {
|
||||
boolean isEphemeral = mAccessPoint.isEphemeral();
|
||||
WifiConfiguration config = mAccessPoint.getConfig();
|
||||
boolean isEphimeral = mAccessPoint.isSaved() == false;
|
||||
String providerFriendlyName = null;
|
||||
if (config != null && config.isPasspoint()) {
|
||||
providerFriendlyName = config.providerFriendlyName;
|
||||
}
|
||||
String summary = AccessPoint.getSummary(
|
||||
mConfigUi.getContext(), state, isEphimeral, providerFriendlyName);
|
||||
mConfigUi.getContext(), state, isEphemeral, providerFriendlyName);
|
||||
addRow(group, R.string.wifi_status, summary);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user