OSDN Git Service

Fixed an issue where the shelf was not rounded during the expansion
authorSelim Cinek <cinek@google.com>
Tue, 19 Jun 2018 02:38:11 +0000 (19:38 -0700)
committerSelim Cinek <cinek@google.com>
Fri, 22 Jun 2018 00:10:04 +0000 (00:10 +0000)
commit5bb958d09a3ddefd5cbaa58e831ccd6c04eb7ca3
tree86bdb22f21f3c0575e6e1788a30b73899dfd0210
parent3f61a66cf14e281cfd4044eddf79dbc019f8933b
Fixed an issue where the shelf was not rounded during the expansion

The positioning of the shelf was actually incorrect previously
which would lead to the rounded corners not being rounded
with a cutout. We didn't factor in the minExpandHeight when
when calculating the stack translation.

Change-Id: I50a1e8b36256426deef8816fe7e6d0c2d53842fd
Fixes: 110343077
Test: expand and collapse the notification panel while having a notch
packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java