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

Commit a298a17e authored by Zoey Chen's avatar Zoey Chen
Browse files

[Provider Model] Add a cutout for signal icon if the mobile data is disabled

Bug: 198233143
Test: manual
Change-Id: I9428d1b9b6ced60d7a56acce22a03565f300822c
parent 9fd02e1b
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,