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

Commit 5345e0bd authored by Eric Schwarzenbach's avatar Eric Schwarzenbach Committed by Android (Google) Code Review
Browse files

Merge "Show updated Speed Label on Wifi detail page."

parents bda0d166 389daf02
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -871,12 +871,12 @@ public class WifiSettings extends RestrictedSettingsFragment
    private void addConnectedAccessPointPreference(AccessPoint connectedAp) {
        final LongPressAccessPointPreference pref = getOrCreatePreference(connectedAp);

        // Launch details page on click.
        pref.setOnPreferenceClickListener(preference -> {
            // Save the state of the current access point in the bundle so that we can restore it
            // in the Wifi Network Details Fragment
            pref.getAccessPoint().saveWifiState(pref.getExtras());

        // Launch details page on click.
        pref.setOnPreferenceClickListener(preference -> {
            SettingsActivity activity = (SettingsActivity) WifiSettings.this.getActivity();
            activity.startPreferencePanel(this,
                    WifiNetworkDetailsFragment.class.getName(), pref.getExtras(),