OSDN Git Service

Fixed an issue where the notification wouldn't go away
authorSelim Cinek <cinek@google.com>
Thu, 18 Jan 2018 00:24:36 +0000 (16:24 -0800)
committerSelim Cinek <cinek@google.com>
Thu, 18 Jan 2018 00:24:36 +0000 (16:24 -0800)
commit90d11a169043c9272ac11a088147d138b09166ef
tree70720443d03ee8457a6b3cd540e14d740c2522ad
parent86bfcee04bdad331ac9d41e690eaa1190ea7e334
Fixed an issue where the notification wouldn't go away

When autocancelling, the logic wasn't working anymore after
we kept a notification around for a while.
This is now properly working.

Change-Id: I73f5485577e6ae081411638a4e3bd4f08cffc23c
Fixes: 27851227
Bug: 63708826
Test: add notification with auto-cancel, reply from it, click on it again
packages/SystemUI/src/com/android/systemui/statusbar/NotificationData.java
packages/SystemUI/src/com/android/systemui/statusbar/NotificationEntryManager.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java