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

Commit 742bd03f authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Gerrit Code Review
Browse files

Merge "Fix network name for Passpoint network"

parents 084c2040 5ff384b5
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -114,7 +114,8 @@ public class DataUsageMeteredSettings extends SettingsPreferenceFragment impleme
    }

    private Preference buildWifiPref(Context context, WifiConfiguration config) {
        final String networkId = config.SSID;
        final String networkId = config.isPasspoint() ?
                config.providerFriendlyName : config.SSID;
        final NetworkTemplate template = NetworkTemplate.buildTemplateWifi(networkId);
        final MeteredPreference pref = new MeteredPreference(context, template);
        pref.setTitle(removeDoubleQuotes(networkId));