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

Commit 7c9f1331 authored by Lyn Han's avatar Lyn Han
Browse files

Do not expand quick settings when shade first opens

Fixes: 187200208
Test: manual
Change-Id: Id5aee36cc8c3c650b007810b752b1fe0955fd263
parent c0e75307
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) {