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

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

Merge changes from topic "presubmit-am-4ed6c1109cfa47dc816a4d57a6fbf727" into...

Merge changes from topic "presubmit-am-4ed6c1109cfa47dc816a4d57a6fbf727" into tm-mainline-prod am: c7ef86fa

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

Change-Id: Ic075ba1065b9467495be736bfcb39b2b9cd3f5a0
parents 1bc26c1c c7ef86fa
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -92,6 +92,7 @@ public class QSFragment extends LifecycleFragment implements QS, CommandQueue.Ca
    private float mLastPanelFraction;
    private float mSquishinessFraction = 1;
    private boolean mQsDisabled;
    private int[] mTemp = new int[2];

    private final RemoteInputQuickSettingsDisabler mRemoteInputQuickSettingsDisabler;
    private final MediaHost mQsMediaHost;
@@ -608,8 +609,11 @@ public class QSFragment extends LifecycleFragment implements QS, CommandQueue.Ca
        }
        mQSPanelScrollView.setClipBounds(mQsBounds);

        mQsMediaHost.getCurrentClipping().set(0, 0, getView().getMeasuredWidth(),
                mQSPanelScrollView.getMeasuredHeight() - mQSPanelScrollView.getPaddingBottom());
        mQSPanelScrollView.getLocationOnScreen(mTemp);
        int top = mTemp[1];
        mQsMediaHost.getCurrentClipping().set(0, top, getView().getMeasuredWidth(),
                top + mQSPanelScrollView.getMeasuredHeight()
                        - mQSPanelScrollView.getPaddingBottom());
    }

    private void updateMediaPositions() {