summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
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
commit88aeaf7dc8a4f1df9926ed87194698b596889c0e (patch)
tree72d94cbb66798aa721333e54c02d7d169a142ee2 /libs/androidfw/StringPool.cpp
parent7342e3c3fe911b1a84564436d741ab9b7d736ad9 (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 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions