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

Skip to content
Commit a3c5d000 authored by Jeff DeCew's avatar Jeff DeCew
Browse files

Clean up NotificationIconAreaController.shouldShowNotificationIcon() for new pipeline

In the new pipeline:
* rows are never GONE.
* the List<ListEntry> is hierarchical, so isTopLevelChild() is redundant.
* "low priority" and "ambient" map to "silent section" and "minimized", so use the pipeline-assigned section to perform the filtering.

Understanding the pipeline-assigned section's type required adding the "silent" section classifications to the SectionStyleProvider.

isTopLevelChild() is now unused, so it has been removed.  Yay!

Fixes: 237296171
Test: atest NotificationIconAreaControllerTest
Change-Id: I8c4b0435fdb43be2b0f99728ef8fbc8733ea1c43
parent d9d6622f
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