commit | 496126aa813df9517e6ca0eec983849e5fc1bbaf | [log] [tgz] |
---|---|---|
author | Selim Cinek <cinek@google.com> | Fri Dec 11 17:02:17 2015 -0800 |
committer | Selim Cinek <cinek@google.com> | Sat Dec 19 15:13:26 2015 -0800 |
tree | a273f43cc7873832397eace459eae7314013a094 | |
parent | 7d6407d5206ee167126695b08f4fee84cec56c12 [diff] [blame] |
Fixed a hole in the shade that could exist with heads up Change-Id: Ia7c36c717287e1c63218c105da83b41f0a40bc4b
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java b/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java index 59b446b..36c26ec 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java
@@ -544,7 +544,7 @@ if (row.isPinned()) { childState.yTranslation = Math.max(childState.yTranslation, mNotificationsTopPadding); - childState.height = row.getHeadsUpHeight(); + childState.height = Math.max(row.getHeadsUpHeight(), childState.height); if (!isTopEntry) { // Ensure that a headsUp doesn't vertically extend further than the heads-up at // the top most z-position