Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 99d06463 authored by Ioana Alexandru's avatar Ioana Alexandru
Browse files

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
parent bcae0605
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment