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

Commit 8b6cc5fd authored by Lyn Han's avatar Lyn Han Committed by Android (Google) Code Review
Browse files

Merge "Do not expand quick settings when shade first opens" into sc-dev

parents 4ba381fd 7c9f1331
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2203,7 +2203,7 @@ public class NotificationPanelViewController extends PanelViewController {
        final int qsPanelBottomY = calculateQsBottomPosition(computeQsExpansionFraction());
        final boolean visible = (computeQsExpansionFraction() > 0 || qsPanelBottomY > 0)
                && !mShouldUseSplitNotificationShade;
        setQsExpansionEnabled(mAmbientState.getScrollY() == 0);
        setQsExpansionEnabled(mAmbientState.getScrollY() == 0 && !mAmbientState.isShadeOpening());

        if (!mShouldUseSplitNotificationShade) {
            if (mTransitioningToFullShadeProgress > 0.0f) {