OSDN Git Service

Fixed an issue where notifications weren't dismissed properly
authorSelim Cinek <cinek@google.com>
Thu, 7 Mar 2019 02:42:05 +0000 (18:42 -0800)
committerSelim Cinek <cinek@google.com>
Sat, 9 Mar 2019 00:02:03 +0000 (16:02 -0800)
commit7bc9be7158c8732ffccd54c5238cab1d24c2b4f9
tree2d769d8034434a38687d1ea506572f5bd87cd2f4
parent3d2a982fd114c503075cb94c37d4254f0c29fc05
Fixed an issue where notifications weren't dismissed properly

Whenever the blocking helper was showing, the notification wasn't
actually dismissed in the notification manager and therefore the
notification dot and other visuals could be wrong as a result.
The reason was that we were lifetime extenders could even trigger
when the notification was dismissed.

Test: atest SystemUITest
Bug: 125799998
Change-Id: Iac7e690f609414de83eefcfeb38623d7668691c3
packages/SystemUI/src/com/android/systemui/statusbar/NotificationRemoteInputManager.java
packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationEntryManager.java
packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/NotificationEntry.java
packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationEntryManagerTest.java