Merge "Code cleanup and inlining for ArcNotificationPresenter"

This commit is contained in:
Brandon Ross Pollack
2022-10-18 05:40:56 +00:00
committed by Android (Google) Code Review

View File

@@ -16,6 +16,8 @@
package com.android.systemui.statusbar.notification.collection.render
import javax.inject.Inject
/** An interface by which the pipeline can make updates to the notification root view. */
interface NotifStackController {
/** Provides stats about the list of notifications attached to the shade */
@@ -42,6 +44,6 @@ data class NotifStats(
* methods, rather than forcing us to add no-op implementations in their implementation every time
* a method is added.
*/
open class DefaultNotifStackController : NotifStackController {
open class DefaultNotifStackController @Inject constructor() : NotifStackController {
override fun setNotifStats(stats: NotifStats) {}
}