am e654ebc0
: am 8ac57a16
: Merge "Use the ephemeral flag in the AccessPoint to mark a connection as a Wifi Assistant connection." into mnc-dev
* commit 'e654ebc03a12cb58eed44fab55e5f2ff0a8da3c8': Use the ephemeral flag in the AccessPoint to mark a connection as a Wifi Assistant connection.
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