From 2268bcf00645f2aa8df1cb15e6a6c4097e9b9454 Mon Sep 17 00:00:00 2001 From: Selim Cinek Date: Thu, 10 Mar 2016 18:06:54 -0800 Subject: Fixed a bug where text would still not animate Bug: 27419215 Change-Id: I8c1cd4d4436ae019875f3e1ae5620c1673c7584e --- .../systemui/statusbar/notification/TextViewTransformState.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3-59-g8ed1b