diff options
| author | 2014-10-10 10:23:28 -0700 | |
|---|---|---|
| committer | 2014-10-10 10:23:28 -0700 | |
| commit | 6a3959be8b935e5e4c3846c89dcea1a29479cd09 (patch) | |
| tree | 01357d90131488a123c82e2816f5aa76551d85dd | |
| parent | 2c2cb29a3d7f0a90d753b0fa9c32c1fc5cdbff32 (diff) | |
SysUI: Reset ExpandableNotiRow.mActualHeight on reset()
Fixes a bug where the wrong layout was selected for expanded
notifications on update.
Bug: 17740662
Change-Id: I1adf329d82069e4d4b6c94cdbbea8e1646bc5b32
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java b/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java index 9196dc89c6c3..556c423080b9 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java @@ -158,6 +158,7 @@ public class ExpandableNotificationRow extends ActivatableNotificationView { public void resetHeight() { mMaxExpandHeight = 0; mWasReset = true; + mActualHeight = 0; onHeightReset(); requestLayout(); } |