OSDN Git Service

Don't retain the filtered list of notifications.
authorDan Sandler <dsandler@android.com>
Wed, 30 Oct 2019 19:01:32 +0000 (15:01 -0400)
committerDaniel Sandler <dsandler@android.com>
Thu, 7 Nov 2019 14:54:55 +0000 (14:54 +0000)
commit899cad855128b20d9cba8a2a2bcb8c9d5ce8d00b
tree7aa2158490b9a8fef955255c1fa1aa964b9cb658
parent4f05f9790bf04515b0c534ffabf8828437a4b7ab
Don't retain the filtered list of notifications.

Previously the entire set of notifications was "leaked" until
the next call to getNotificationsForCurrentUser(), which
currently only happens for certain configuration changes
(UiMode, density, fontscale).

Bug: 143461605
Test: atest SystemUITests
Test: sanity check: boot and switch night mode
Change-Id: I39f2c96f848ab92a050aa4bda3ae203fbf99d915
(cherry picked from commit c0c6edee7f46ac2d247f496f83e53f9adfd163e7)
packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/NotificationData.java