diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java b/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java index 176905a31b9b3..236ead0b12bca 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java @@ -2222,7 +2222,7 @@ public class NotificationStackScrollLayout extends ViewGroup } private void updateScrollability() { - boolean scrollable = getScrollRange() > 0; + boolean scrollable = !mQsExpanded && getScrollRange() > 0; if (scrollable != mScrollable) { mScrollable = scrollable; setFocusable(scrollable); @@ -4500,6 +4500,7 @@ public class NotificationStackScrollLayout extends ViewGroup public void setQsExpanded(boolean qsExpanded) { mQsExpanded = qsExpanded; updateAlgorithmLayoutMinHeight(); + updateScrollability(); } public void setQsExpansionFraction(float qsExpansionFraction) {