summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java
diff options
context:
space:
mode:
authorSelim Cinek <cinek@google.com>2015-04-10 17:54:46 -0700
committerSelim Cinek <cinek@google.com>2015-04-15 12:58:39 -0700
commit1f3f544f21cab3728f749ab66cd6859e9dfcf389 (patch)
treed2082ea2826bcbe4bb70a4579cce61418e350cee /packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java
parentd2281151ee18f5fd530bc062c59b3f77082317bf (diff)
downloadframeworks_base-1f3f544f21cab3728f749ab66cd6859e9dfcf389.zip
frameworks_base-1f3f544f21cab3728f749ab66cd6859e9dfcf389.tar.gz
frameworks_base-1f3f544f21cab3728f749ab66cd6859e9dfcf389.tar.bz2
Fixed more heads up bugs
Change-Id: Ibfb6656deb3bc588fc9292a672a5e4d4d1de4d23
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java b/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java
index b759684..fa1ec0f 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java
@@ -643,9 +643,10 @@ public class ExpandableNotificationRow extends ActivatableNotificationView {
}
mMaxExpandHeight = expandedChild.getHeight();
View headsUpChild = mPrivateLayout.getHeadsUpChild();
- if (headsUpChild != null) {
- mHeadsUpHeight = headsUpChild.getHeight();
+ if (headsUpChild == null) {
+ headsUpChild = mPrivateLayout.getContractedChild();
}
+ mHeadsUpHeight = headsUpChild.getHeight();
if (intrinsicBefore != getIntrinsicHeight()) {
notifyHeightChanged(false /* needsAnimation */);
}