summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/statusbar
diff options
context:
space:
mode:
authorSelim Cinek <cinek@google.com>2015-04-13 15:09:08 -0700
committerSelim Cinek <cinek@google.com>2015-04-15 12:58:40 -0700
commitc80fdb11f55f4c1f3ca9b5cdc7035afa2a0b9e91 (patch)
treefa0afa3b4926005634de488b5ad515b3eb3b0f37 /packages/SystemUI/src/com/android/systemui/statusbar
parent1f3f544f21cab3728f749ab66cd6859e9dfcf389 (diff)
downloadframeworks_base-c80fdb11f55f4c1f3ca9b5cdc7035afa2a0b9e91.zip
frameworks_base-c80fdb11f55f4c1f3ca9b5cdc7035afa2a0b9e91.tar.gz
frameworks_base-c80fdb11f55f4c1f3ca9b5cdc7035afa2a0b9e91.tar.bz2
Fixed a bug where the intrinsic height was not updated
Change-Id: I2c171aff6eb30418121f0ca77e71045b0b61c9b2
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/statusbar')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java4
1 files changed, 4 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 fa1ec0f..33a07d9 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java
@@ -181,8 +181,12 @@ public class ExpandableNotificationRow extends ActivatableNotificationView {
}
public void setHeadsUp(boolean isHeadsUp) {
+ int intrinsicBefore = getIntrinsicHeight();
mIsHeadsUp = isHeadsUp;
mPrivateLayout.setHeadsUp(isHeadsUp);
+ if (intrinsicBefore != getIntrinsicHeight()) {
+ notifyHeightChanged(false /* needsAnimation */);
+ }
}
public void setGroupManager(NotificationGroupManager groupManager) {