Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/NotifStackController.kt +3 −1 Original line number Original line Diff line number Diff line Loading @@ -16,6 +16,8 @@ package com.android.systemui.statusbar.notification.collection.render 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. */ /** An interface by which the pipeline can make updates to the notification root view. */ interface NotifStackController { interface NotifStackController { /** Provides stats about the list of notifications attached to the shade */ /** Provides stats about the list of notifications attached to the shade */ Loading @@ -42,6 +44,6 @@ data class NotifStats( * methods, rather than forcing us to add no-op implementations in their implementation every time * methods, rather than forcing us to add no-op implementations in their implementation every time * a method is added. * a method is added. */ */ open class DefaultNotifStackController : NotifStackController { open class DefaultNotifStackController @Inject constructor() : NotifStackController { override fun setNotifStats(stats: NotifStats) {} override fun setNotifStats(stats: NotifStats) {} } } No newline at end of file Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/NotifStackController.kt +3 −1 Original line number Original line Diff line number Diff line Loading @@ -16,6 +16,8 @@ package com.android.systemui.statusbar.notification.collection.render 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. */ /** An interface by which the pipeline can make updates to the notification root view. */ interface NotifStackController { interface NotifStackController { /** Provides stats about the list of notifications attached to the shade */ /** Provides stats about the list of notifications attached to the shade */ Loading @@ -42,6 +44,6 @@ data class NotifStats( * methods, rather than forcing us to add no-op implementations in their implementation every time * methods, rather than forcing us to add no-op implementations in their implementation every time * a method is added. * a method is added. */ */ open class DefaultNotifStackController : NotifStackController { open class DefaultNotifStackController @Inject constructor() : NotifStackController { override fun setNotifStats(stats: NotifStats) {} override fun setNotifStats(stats: NotifStats) {} } } No newline at end of file