diff options
| author | 2021-06-04 14:16:46 -0500 | |
|---|---|---|
| committer | 2021-06-04 14:17:15 -0500 | |
| commit | 7c9f13310dd5e1ea451c7c55eeb5c917d66b4f2c (patch) | |
| tree | 1bb858ebd5053512f6e5e794eee78d4185ba9250 | |
| parent | c0e753076c467dedd31c43d9eb47c617122ae4ac (diff) | |
Do not expand quick settings when shade first opens
Fixes: 187200208
Test: manual
Change-Id: Id5aee36cc8c3c650b007810b752b1fe0955fd263
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java index a7b802ac4afc..bc21ec766ce1 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java @@ -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) { |