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 70ad0d8427d9e..6637b506dce96 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java @@ -2006,7 +2006,7 @@ public class NotificationPanelViewController extends PanelViewController { right = getView().getRight(); } else { top = Math.min(qsPanelBottomY, mSplitShadeNotificationsTopPadding); - bottom = getExpandedHeight() - mSplitShadeNotificationsTopPadding; + bottom = mNotificationStackScrollLayoutController.getHeight(); left = mNotificationStackScrollLayoutController.getLeft(); right = mNotificationStackScrollLayoutController.getRight(); }