OSDN Git Service

Removing notifications always immediately when swiping them away
authorSelim Cinek <cinek@google.com>
Thu, 15 Dec 2016 22:44:36 +0000 (14:44 -0800)
committerSelim Cinek <cinek@google.com>
Thu, 12 Jan 2017 01:03:16 +0000 (01:03 +0000)
commit5e018206e24c6067d43319c4c9e887ff71b8d7ed
tree094c3453dda7f0d2c31016fd3650a8eb687c6833
parent45c9ba9c1582d65dc083097ad73e23d8f88ecc58
Removing notifications always immediately when swiping them away

When swiping away notifications we were previously relying on the
notification manager to cancel the notification for us. If the state
diverges however (due to bugs) this leads to unrecoverable empty
holes which is super bad.

Merged-In: If63c5434b4e438fea560e0013a12c60655103977
Change-Id: If63c5434b4e438fea560e0013a12c60655103977
Test: existing tests pass
Bug: 33457118
packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java