OSDN Git Service

FixBug: Round corner gone when scroll to non-first item and drag to close
authorArthur Hung <arthurhung@google.com>
Tue, 22 May 2018 06:00:42 +0000 (14:00 +0800)
committerSelim Cinek <cinek@google.com>
Wed, 23 May 2018 20:58:47 +0000 (20:58 +0000)
commitc0ef565080da31ffceb7ef613e8578bf2f6e6539
treeacd365fbb9031db5b5161f80dfb3fbf3994e142f
parent3116918bf0457f8eb36d37dea0d0e8802bd38b3d
FixBug: Round corner gone when scroll to non-first item and drag to close

Add some notification and scroll to non-first item,
Then drag to close notification panel, the top round corner will become
rectangle corner.

Case 1: the round corner only in first item.
Case 2: the round corner cross first and second.

Bug: 80110795
Test: add notifications, scroll, drag to close
Test: atest SystemUITest
Change-Id: I64146ebd1e3b7d19fd5b466290fc9fd5de5b8d5d
packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java