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

Commit 071ee436 authored by Zoey Chen's avatar Zoey Chen Committed by Automerger Merge Worker
Browse files

Merge "[Provider Model] Add a cutout for signal icon if the mobile data is...

Merge "[Provider Model] Add a cutout for signal icon if the mobile data is disabled" into sc-qpr1-dev am: 2ea9861d am: 665b87b1

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15724268

Change-Id: Ibb6910945debe56961ec96b35372dd49c2ee19b4
parents 0398f368 665b87b1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -391,7 +391,8 @@ public class InternetDialogController implements WifiEntry.DisconnectCallback,
            level += 1;
            numLevels += 1;
        }
        return getSignalStrengthIcon(mContext, level, numLevels, NO_CELL_DATA_TYPE_ICON, false);
        return getSignalStrengthIcon(mContext, level, numLevels, NO_CELL_DATA_TYPE_ICON,
                !isMobileDataEnabled());
    }

    Drawable getSignalStrengthIcon(Context context, int level, int numLevels,