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

Commit 3575fb8c authored by Fabian Kozynski's avatar Fabian Kozynski Committed by Automerger Merge Worker
Browse files

Merge "Use full top padding even in HorizontalLayout" into sc-dev am: a3a8f663

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14339357

Change-Id: I3c856574105fce0fe3c0a496b9bb18b5a390159f
parents bf68bb90 a3a8f663
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -301,12 +301,6 @@ public class QSPanel extends LinearLayout implements Tunable {
    protected void updatePadding() {
        final Resources res = mContext.getResources();
        int padding = res.getDimensionPixelSize(R.dimen.qs_panel_padding_top);
        if (mUsingHorizontalLayout) {
            // When using the horizontal layout, our space is quite constrained. We therefore
            // reduce some of the padding on the top, which makes the brightness bar overlapp,
            // but since that has naturally quite a bit of built in padding, that's fine.
            padding = (int) (padding * 0.6f);
        }
        setPaddingRelative(getPaddingStart(),
                padding,
                getPaddingEnd(),