diff options
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/notification/TextViewTransformState.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/TextViewTransformState.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/TextViewTransformState.java index d3393b330355..20dbc4a31b8a 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/TextViewTransformState.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/TextViewTransformState.java @@ -46,7 +46,8 @@ public class TextViewTransformState extends TransformState { if(TextUtils.equals(otherTvs.mText.getText(), mText.getText())) { int ownEllipsized = getEllipsisCount(); int otherEllipsized = otherTvs.getEllipsisCount(); - return ownEllipsized == otherEllipsized; + return ownEllipsized == otherEllipsized + && mText.getHeight() == otherTvs.mText.getHeight(); } } return super.sameAs(otherState); |