OSDN Git Service

Fixed a bug where notifications could stay expanded
authorSelim Cinek <cinek@google.com>
Thu, 22 Dec 2016 15:39:54 +0000 (16:39 +0100)
committerSelim Cinek <cinek@google.com>
Thu, 12 Jan 2017 15:52:53 +0000 (15:52 +0000)
commitb2236108aefc29cb0cc0b4554a584116c06949f0
tree8093bfd4a2a35da4bdd48343a89e9ad5fef37868
parent45c9ba9c1582d65dc083097ad73e23d8f88ecc58
Fixed a bug where notifications could stay expanded

When expanding and locking the screen, the notification
could be stuck in a userlocked state and therefore look
expanded even on the lock screen.
Another case where this could happen was when there was
a race between locking the screen and collapsing a group.

Merged-In: I4f359d727013ee8c9e4174d2855896ba8d3d1a0b
Change-Id: I4f359d727013ee8c9e4174d2855896ba8d3d1a0b
Test: have group on locked shade, expand, click on middle space during expansion
Bug: 33614507
packages/SystemUI/src/com/android/systemui/ExpandHelper.java
packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java