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

Commit ef51aec9 authored by Weng Su's avatar Weng Su Committed by Automerger Merge Worker
Browse files

Don't show Wi-Fi icon if the level is -1 am: 1f6f8078

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15720350

Change-Id: I9f8f1ed4d2ec8072dc3b7087d41186f021197e75
parents f3155c03 1f6f8078
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -330,7 +330,7 @@ public class NetworkRequestDialogFragment extends NetworkRequestDialogBaseFragme

            final PreferenceImageView imageView = view.findViewById(android.R.id.icon);
            final int level = wifiEntry.getLevel();
            if (imageView != null) {
            if (imageView != null && level != WifiEntry.WIFI_LEVEL_UNREACHABLE) {
                final Drawable drawable = getContext().getDrawable(
                        Utils.getWifiIconResource(level));
                drawable.setTintList(