Loading packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java +4 −0 Original line number Diff line number Diff line Loading @@ -277,6 +277,10 @@ public class ExpandableNotificationRow extends ActivatableNotificationView { int intrinsicBefore = getIntrinsicHeight(); mIsHeadsUp = isHeadsUp; mPrivateLayout.setHeadsUp(isHeadsUp); if (mIsSummaryWithChildren) { // The overflow might change since we allow more lines as HUN. mChildrenContainer.updateGroupOverflow(); } if (intrinsicBefore != getIntrinsicHeight()) { notifyHeightChanged(false /* needsAnimation */); } Loading packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationChildrenContainer.java +3 −1 Original line number Diff line number Diff line Loading @@ -139,7 +139,9 @@ public class NotificationChildrenContainer extends ViewGroup { for (int i = 0; i < childCount; i++) { ExpandableNotificationRow child = mChildren.get(i); boolean isOverflow = i == overflowIndex; child.setSingleLineWidthIndention(isOverflow ? mOverflowNumber.getMeasuredWidth() : 0); child.setSingleLineWidthIndention(isOverflow && mOverflowNumber != null ? mOverflowNumber.getMeasuredWidth() : 0); child.measure(widthMeasureSpec, newHeightSpec); height += child.getMeasuredHeight(); Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java +4 −0 Original line number Diff line number Diff line Loading @@ -277,6 +277,10 @@ public class ExpandableNotificationRow extends ActivatableNotificationView { int intrinsicBefore = getIntrinsicHeight(); mIsHeadsUp = isHeadsUp; mPrivateLayout.setHeadsUp(isHeadsUp); if (mIsSummaryWithChildren) { // The overflow might change since we allow more lines as HUN. mChildrenContainer.updateGroupOverflow(); } if (intrinsicBefore != getIntrinsicHeight()) { notifyHeightChanged(false /* needsAnimation */); } Loading
packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationChildrenContainer.java +3 −1 Original line number Diff line number Diff line Loading @@ -139,7 +139,9 @@ public class NotificationChildrenContainer extends ViewGroup { for (int i = 0; i < childCount; i++) { ExpandableNotificationRow child = mChildren.get(i); boolean isOverflow = i == overflowIndex; child.setSingleLineWidthIndention(isOverflow ? mOverflowNumber.getMeasuredWidth() : 0); child.setSingleLineWidthIndention(isOverflow && mOverflowNumber != null ? mOverflowNumber.getMeasuredWidth() : 0); child.measure(widthMeasureSpec, newHeightSpec); height += child.getMeasuredHeight(); Loading