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 de07402248ebf..30fa0d8e3dec2 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java @@ -2233,6 +2233,8 @@ public class NotificationPanelViewController extends PanelViewController { left = mNotificationStackScrollLayoutController.getLeft(); right = mNotificationStackScrollLayoutController.getRight(); } + // top should never be lower than bottom, otherwise it will be invisible. + top = Math.min(top, bottom); applyQSClippingBounds(left, top, right, bottom, visible); }