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

Commit 4c5902bf authored by Pawit Pornkitprasan's avatar Pawit Pornkitprasan Committed by Steve Kondik
Browse files

SystemUI: MSim: hide subs label on KeyGuard

This is already displayed on the top-left corner

Change-Id: If671e7875693143a721f37cd090aa28b2512800e
parent 2d11cf64
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1928,6 +1928,13 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
                    - mCarrierLabelHeight - mStatusBarHeaderHeight)
            && mStackScroller.getVisibility() == View.VISIBLE
            && mState != StatusBarState.KEYGUARD;

            if (mState == StatusBarState.KEYGUARD) {
                // The subs are already displayed on the top bar
                mSubsLabel.setVisibility(View.INVISIBLE);
            } else {
                mSubsLabel.setVisibility(View.VISIBLE);
            }
        } else {
            makeVisible =
            !(emergencyCallsShownElsewhere && mNetworkController.isEmergencyOnly())