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

Commit c2c947c8 authored by Quang Luong's avatar Quang Luong
Browse files

Remove double quote from AP key from a WifiConfiguration

Double quotes from the WifiConfiguration SSID led to APs not being
matched to their respective configs by key, resulting in a saved AP
entry in the wifi picker behaving like an unsaved network.

Bug: 123062494
Test: manual, build and tap on saved network
Change-Id: Ife56e34b7efe02420dd79f983c485c4aa619e949
parent 16bab6df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -622,7 +622,7 @@ public class AccessPoint implements Comparable<AccessPoint> {
                    .append(KEY_PREFIX_FQDN)
                    .append(config.FQDN).toString();
        } else {
            return getKey(config.SSID, config.BSSID, getSecurity(config));
            return getKey(removeDoubleQuotes(config.SSID), config.BSSID, getSecurity(config));
        }
    }