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

Commit 9c9c02ca authored by David Su's avatar David Su
Browse files

SettingsLib: Rename removeDoubleQuotes to sanitizeSsid

Bug: 145745815
Test: compiles
Change-Id: I08fd795b8a92e0940e79d55dd37b699397fc0114
parent b4d222ab
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -216,7 +216,7 @@ public class NetworkPolicyEditor {
    private static NetworkTemplate buildUnquotedNetworkTemplate(NetworkTemplate template) {
        if (template == null) return null;
        final String networkId = template.getNetworkId();
        final String strippedNetworkId = WifiInfo.removeDoubleQuotes(networkId);
        final String strippedNetworkId = WifiInfo.sanitizeSsid(networkId);
        if (!TextUtils.equals(strippedNetworkId, networkId)) {
            return new NetworkTemplate(
                    template.getMatchRule(), template.getSubscriberId(), strippedNetworkId);