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
Loading
Please register or sign in to comment