OSDN Git Service

Fixed several bugs regarding the state of the notifications
authorSelim Cinek <cinek@google.com>
Thu, 1 May 2014 13:51:58 +0000 (15:51 +0200)
committerSelim Cinek <cinek@google.com>
Thu, 1 May 2014 15:41:47 +0000 (17:41 +0200)
commit4a1ac84e35fe5a8b1f1de01193e51da173eea99c
tree5307faf48516b6f7a953d3412bc2835afad28817
parentae84e20b2a0cb77223d40f55c71011d3ae8c71c7
Fixed several bugs regarding the state of the notifications

Fixed an issue where the last card was hidden even though there would
have been enough space to show it when it was expanded.
Also fixed an issue where the first card was not expandable when it was
the only one.
In addition the scroll range was corrected, to ensure that the last card
could always be scrolled to full visibility, which was not the case
previously when the last card was expanded.

Bug: 14376035
Change-Id: I372a55dc1fc6e381dd9aef3d631447912e3d1024
packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java