OSDN Git Service

Fixed a bug where holes could occur in the new shade.
authorSelim Cinek <cinek@google.com>
Wed, 23 Apr 2014 15:24:37 +0000 (17:24 +0200)
committerSelim Cinek <cinek@google.com>
Wed, 23 Apr 2014 15:50:48 +0000 (17:50 +0200)
commitb6e0e1228bfd38f5ba971194afc5c31d99980fa1
tree60e95fe9fb545f0754420dc847048c3cf7b4dde9
parent21de56a94668e0fda1b8bb4ee4f99a09b40d28fd
Fixed a bug where holes could occur in the new shade.

When a notification was never layouted before and it was the first
child, holes could occur in the shade when dragging down, because its
maximum allowed height was wrongly calculated.

Bug: 14080722
Change-Id: Ia10f9dd95f917d492411aec1da4ae0fc4d8f33d5
packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java
packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java