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

Skip to content
Commit ce7451cd authored by Kevin Han's avatar Kevin Han
Browse files

Move control logic out of NotificationContentInflater

NotificationContentInflater's sole responsibility should be to provide
an API to inflate views based off the inflation parameters set on it.
Currently, this is violated by several setters that automatically
trigger inflations and its secondary role as the inflation flag source
of truth. This blurs the class's responsibility and makes it harder to
use, so we move it out.

Right now, most of this control logic simply went one level up to
ExpandableNotificationRow which realistically also isn't where it should
be ultimately. However, this is the most reasonable place for it to live
in the interim while we slowly migrate inflation/bind logic out of
ExpandableNotificaitonRow piece by piece.

Bug: 145749521
Test: atest SystemUITests
Test: smoke test
Change-Id: Ia51a6db667f0aca5b410ab7f769d061f8e9a617e
parent 9908f047
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