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

Commit 13dee43e authored by Adrian Roos's avatar Adrian Roos
Browse files

Fix broken tablet layout of QS on lockscreen

Bug: 15536406
Change-Id: I6c075d0875cf78dff1938b5cfd49e6b1924bcc99
parent ac383e52
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -138,6 +138,7 @@ public class StatusBarHeaderView extends RelativeLayout implements View.OnClickL
            updateBrightnessControllerState();
            updateZTranslation();
            updateClickTargets();
            updateWidth();
            if (mQSPanel != null) {
                mQSPanel.setExpanded(expanded && !overscrolled);
            }
@@ -173,7 +174,7 @@ public class StatusBarHeaderView extends RelativeLayout implements View.OnClickL
    }

    private void updateWidth() {
        int width = mKeyguardShowing ? mKeyguardWidth : mNormalWidth;
        int width = (mKeyguardShowing && !mExpanded) ? mKeyguardWidth : mNormalWidth;
        ViewGroup.LayoutParams lp = getLayoutParams();
        if (width != lp.width) {
            lp.width = width;