commit | 3afd00e9f2b55a21ca378d6e520d24283dbb62e0 | [log] [tgz] |
---|---|---|
author | Selim Cinek <cinek@google.com> | Mon Aug 11 22:32:57 2014 +0200 |
committer | Selim Cinek <cinek@google.com> | Mon Aug 11 20:59:44 2014 +0000 |
tree | 396a43a33556ec45772ea68a1b830cc8395823d5 | |
parent | 8705eb95b0e00d54bbc511351c6bb180bf3273de [diff] [blame] |
Fixed a bug in the notification stack algorithm Bad holes could occur when a notification was at the same time in the top and the bottom stack. This also improves the landscape / smallscreen interaction with the shade. Bug: 16715133 Change-Id: Icbb4d080e658f4ddbd39b7d08652ca5311a47978
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java index 1d08658..acdc6bc 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
@@ -279,6 +279,8 @@ positionClockAndNotifications(); mNotificationStackScroller.setStackHeight(getExpandedHeight()); } + mNotificationStackScroller.updateIsSmallScreen( + mHeader.getCollapsedHeight() + mQsPeekHeight); } @Override