OSDN Git Service

Fixed that pinned huns could become clipped
authorSelim Cinek <cinek@google.com>
Tue, 23 May 2017 03:00:56 +0000 (20:00 -0700)
committerSelim Cinek <cinek@google.com>
Tue, 23 May 2017 22:04:54 +0000 (15:04 -0700)
commit7e0f94863ff5013ccb25ace648b2dd39c2d42cdd
tree72791859460815e90cf2b9f28c700790390d84d9
parent605351c56c43608c58ca164e4ff81e03baf244c5
Fixed that pinned huns could become clipped

Huns could become clipped and their actions hidden
after they were posted the first time.
They are now only pushed in if they are above the shelf

Test: manual, add huns, observe correct clipping
Change-Id: I3277da30397e7424c000098b822e571620dd1e08
Fixes:  38017936
packages/SystemUI/src/com/android/systemui/statusbar/NotificationShelf.java
packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java
packages/SystemUI/src/com/android/systemui/statusbar/stack/ViewState.java