Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1bcf050b authored by Shirish Kalele's avatar Shirish Kalele
Browse files

Use the ephemeral flag in the AccessPoint to mark a

connection as a Wifi Assistant connection.

Change-Id: Ife26f6799a5b9e4640181d150edb7455adf38f0f
parent e4841b38
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);
                    }