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

Commit 8efea18c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[Wi-Fi] Fix EntityHeader signal strength icon invisible problem" into rvc-dev

parents 36b00c5e 62e3a827
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -235,6 +235,13 @@ public class WifiNetworkDetailsFragment2 extends DashboardFragment implements
    public void refreshPreferences() {
        final PreferenceScreen screen = getPreferenceScreen();
        for (AbstractPreferenceController controller : mControllers) {
            // WifiDetailPreferenceController2 gets the callback WifiEntryCallback#onUpdated,
            // it can control the visibility change by itself.
            // And WifiDetailPreferenceController2#updatePreference renew mEntityHeaderController
            // instance which will cause icon reset.
            if (controller instanceof WifiDetailPreferenceController2) {
                continue;
            }
            controller.displayPreference(screen);
        }
    }