summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src
diff options
context:
space:
mode:
authorChristoph Studer <chstuder@google.com>2014-10-10 10:23:28 -0700
committerChristoph Studer <chstuder@google.com>2014-10-10 10:23:28 -0700
commit6a3959be8b935e5e4c3846c89dcea1a29479cd09 (patch)
tree01357d90131488a123c82e2816f5aa76551d85dd /packages/SystemUI/src
parent2c2cb29a3d7f0a90d753b0fa9c32c1fc5cdbff32 (diff)
downloadframeworks_base-6a3959be8b935e5e4c3846c89dcea1a29479cd09.zip
frameworks_base-6a3959be8b935e5e4c3846c89dcea1a29479cd09.tar.gz
frameworks_base-6a3959be8b935e5e4c3846c89dcea1a29479cd09.tar.bz2
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
Diffstat (limited to 'packages/SystemUI/src')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java1
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 9196dc8..556c423 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();
}