summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Ioana Alexandru <aioana@google.com> 2023-10-31 19:04:14 +0100
committer Ioana Alexandru <aioana@google.com> 2023-11-17 14:46:31 +0100
commit99d06463471ceb16bc1887e959767ad66395e6c3 (patch)
tree85e4aa614c329b99783ce224ff2c2c861e22a46f /api/api.go
parentbcae0605e18dad528e03bb14fe0a99f85423296c (diff)
Start de-coupling NotifStats from NSSLController.
This is not completely straightforward, hence the various TODOs scattered throughout the code. This will only be completely de-coupled once the footer refactor is done, but I'd like to keep the CLs separate as much as possible. Several components need to check whether there are any notifications or not, and they currently do that by looking at notifStats.numActiveNotifs. Instead, we should have only one source of truth in the form of the ActiveNotificationsRepository. This CL focuses on decoupling this dependency. Bug: 293167744 Test: manually tested that the empty shade and footer behave correctly in various circumstances; running e2e tests in another CL with the flag on; NotificationListViewModelTest, ShadeInteractorTest Flag: ACONFIG com.android.systemui.notifications_footer_view_refactor DEVELOPMENT Change-Id: Id18abb88db78c736ba788b491d86487068edd2a7
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions