OSDN Git Service

Fixed a few bugs regarding big notification groups
authorSelim Cinek <cinek@google.com>
Tue, 27 Sep 2016 23:35:13 +0000 (16:35 -0700)
committerSelim Cinek <cinek@google.com>
Thu, 29 Sep 2016 18:33:21 +0000 (11:33 -0700)
commitbc243a962702cfa6fa9cdc56356e996a77acd307
tree31213c4721e8213a66019ded8623c629af968862
parentecfc6b52ecbcb822978a6a7b646f0880042f1a77
Fixed a few bugs regarding big notification groups

The overscrolling was listening to the paddingOverflow
which didn't make sense. Also, we need to update the
top padding if the height of the first element changes.

This also fixes several cases where the notification size was
wrong when the quick settings panel was expanded.
It also fixes some flickering regarding the TopPaddingoverflow
which was going rogue in a few cases.
The transition from the locked shade is thereby also improved.

Change-Id: I703ea27879b325c02a15fdacee3b58f5ef78fd20
Fixes: 30801139
packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
packages/SystemUI/src/com/android/systemui/statusbar/stack/AmbientState.java
packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java