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

Commit 5c9c8709 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Apply negative margin to the correct view" into main

parents 34b1c584 bee01354
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -132,10 +132,10 @@ public class NotificationsQuickSettingsContainer extends ConstraintLayout
    }

    public void setQSNegativeMarginBottom(int margin) {
        if (QSComposeFragment.isEnabled() && mQSContainer != null) {
            MarginLayoutParams params = (MarginLayoutParams) mQSContainer.getLayoutParams();
        if (QSComposeFragment.isEnabled() && mQsFrame != null) {
            MarginLayoutParams params = (MarginLayoutParams) mQsFrame.getLayoutParams();
            params.bottomMargin = -margin;
            mQSContainer.setLayoutParams(params);
            mQsFrame.setLayoutParams(params);
        }
    }