From 6a3959be8b935e5e4c3846c89dcea1a29479cd09 Mon Sep 17 00:00:00 2001 From: Christoph Studer Date: Fri, 10 Oct 2014 10:23:28 -0700 Subject: [PATCH] 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 --- .../android/systemui/statusbar/ExpandableNotificationRow.java | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java b/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java index 9196dc89c6c3f..556c423080b95 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(); }