diff options
| author | Ned Burns <pixel@google.com> | 2020-03-13 20:45:19 -0400 |
|---|---|---|
| committer | Ned Burns <pixel@google.com> | 2020-03-16 17:12:46 -0400 |
| commit | 88aeaf7dc8a4f1df9926ed87194698b596889c0e (patch) | |
| tree | 72d94cbb66798aa721333e54c02d7d169a142ee2 /core/java/android/inputmethodservice/AbstractInputMethodService.java | |
| parent | 7342e3c3fe911b1a84564436d741ab9b7d736ad9 (diff) | |
Add getAllNotifs() to CommonNotifCollection
The following CL needs to be able to iterate through all current
notifications, so we need this method.
Adds a method, getAllNotifs() to CommonNotifCollection. This means that
both NotifCollection and NotificationEntryManager must now implement
this method.
NotifCollection previously had the (confusingly-named)
getActiveNotifs(). Now renamed to getAllNotifs().
NotificationEntryManager previously had
getPendingAndActiveNotifications(), which wasn't very efficient.
Restructured to the class to not need to rebuild the collection every
time it was called. Moved the (one) existing client over to use it.
Bug: 112656837
Test: atest SystemUITests
Change-Id: Ic2d5860e080fff8cb11c37ccc1a92f0af761caab
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions
