diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java index 0499b148c1ad9..3fdbb6b20b941 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java @@ -270,6 +270,7 @@ public class NotificationPanelView extends PanelView implements // Calculate quick setting heights. mQsMinExpansionHeight = mKeyguardShowing ? 0 : mHeader.getCollapsedHeight() + mQsPeekHeight; mQsMaxExpansionHeight = mHeader.getExpandedHeight() + mQsContainer.getHeight(); + positionClockAndNotifications(); if (mQsExpanded) { if (mQsFullyExpanded) { mQsExpansionHeight = mQsMaxExpansionHeight; @@ -277,7 +278,6 @@ public class NotificationPanelView extends PanelView implements } } else { setQsExpansion(mQsMinExpansionHeight + mLastOverscroll); - positionClockAndNotifications(); mNotificationStackScroller.setStackHeight(getExpandedHeight()); updateHeader(); }