OSDN Git Service

Clipping the last notification if it's in the shelf
authorSelim Cinek <cinek@google.com>
Thu, 20 Jul 2017 17:47:48 +0000 (10:47 -0700)
committerSelim Cinek <cinek@google.com>
Thu, 20 Jul 2017 17:49:55 +0000 (10:49 -0700)
commit3ff9fba2cdf6d52ca17777931732919ea0e7f3bd
tree2aad0dde7ac86560d8ca7b2213e0a1fb2133f0e7
parent925abb706ecab0300c72cef3c472242a275e72ac
Clipping the last notification if it's in the shelf

Before we were only clipping it to the bottom on the shelf,
but if we're already fully in the shelf (and made visible again
by another clause) then we still need to clip to the top.

Test: manual, observe normal clipping for last item
Change-Id: Ie1bc7afb78534bd89d771808eba8e02251d3a3cc
Fixes: 63264213
packages/SystemUI/src/com/android/systemui/statusbar/NotificationShelf.java