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

Commit 1ab15ca8 authored by Adrian Roos's avatar Adrian Roos Committed by Android Git Automerger
Browse files

am c77c504e: Merge "Fix broken tablet layout of QS on lockscreen" into lmp-preview-dev

* commit 'c77c504ed7a155a80291f8b54c8e3db6f5303d30':
  Fix broken tablet layout of QS on lockscreen
parents f27c27c2 88427b0c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -146,6 +146,7 @@ public class StatusBarHeaderView extends RelativeLayout implements View.OnClickL
            updateBrightnessControllerState();
            updateZTranslation();
            updateClickTargets();
            updateWidth();
            if (mQSPanel != null) {
                mQSPanel.setExpanded(expanded && !overscrolled);
            }
@@ -181,7 +182,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;