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

Commit 1939894d authored by kaiyiz's avatar kaiyiz
Browse files

SystemUI: Fix "wifi icon overlaps mobile signal icon" issue

The mobile signal icon is not triangle in carrier style, so it's necessary
to insert a spacer between wifi icon and sim1 mobile signal icon.

Use the spacer if the signal style of sim1 is not default.

CRs-Fixed: 638161

Change-Id: Ifb842574721fbdcbc93d2c573cc9851ceb9ba35f
parent 27d1e167
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -322,9 +322,10 @@ public class MSimSignalClusterView
            mMobile[subscription].setVisibility(View.GONE);
        }

        if (subscription != 0) {
        if (subscription == 0) {
            if (mMobileVisible && mWifiVisible && ((mIsAirplaneMode) ||
                    (mNoSimIconId[subscription] != 0))) {
                    (mNoSimIconId[subscription] != 0) ||
                    (mStyle != STATUS_BAR_STYLE_ANDROID_DEFAULT))) {
                mSpacer.setVisibility(View.INVISIBLE);
            } else {
                mSpacer.setVisibility(View.GONE);