diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java b/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java index 8046250c9412c..7bc1a39dfff5f 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java @@ -1974,6 +1974,9 @@ public class ExpandableNotificationRow extends ActivatableNotificationView if (mGuts != null) { mGuts.setActualHeight(height); } + if (mMenuRow.getMenuView() != null) { + mMenuRow.onHeightUpdate(); + } } @Override diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationMenuRow.java b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationMenuRow.java index fddc446f61112..99b4b0799cba8 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationMenuRow.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationMenuRow.java @@ -431,7 +431,7 @@ public class NotificationMenuRow implements NotificationMenuRowPlugin, View.OnCl if (mParent == null || mMenuItems.size() == 0 || mMenuContainer == null) { return; } - int parentHeight = mParent.getCollapsedHeight(); + int parentHeight = mParent.getActualHeight(); float translationY; if (parentHeight < mVertSpaceForIcons) { translationY = (parentHeight / 2) - (mHorizSpaceForIcon / 2);