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

Commit 1ddd133e 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 am: dc50ca86

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

Change-Id: I6a2a26f74432e8e31f95ebc00e40000fd8d7f486
parents f5fe795a dc50ca86
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(