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

Commit b3aae5aa authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Don't show the Wi-Fi icon when Wi-Fi is off" into main

parents 66aa660a 3b161c23
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -555,6 +555,9 @@ public class WifiDetailPreferenceController2 extends AbstractPreferenceControlle
            int deviceType = ((HotspotNetworkEntry) wifiEntry).getDeviceType();
            return mContext.getDrawable(getHotspotIconResource(deviceType));
        }
        if (mWifiEntry.getLevel() == WifiEntry.WIFI_LEVEL_UNREACHABLE) {
            return mContext.getDrawable(R.drawable.empty_icon);
        }
        return mIconInjector.getIcon(wifiEntry.shouldShowXLevelIcon(), wifiEntry.getLevel());
    }