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

Commit a4c984fd authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Rename addSuppressor to addLegacySuppressor" into main

parents c52c2cdd e96d797f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ class NotificationInterruptStateProviderWrapper(
        override val logReason = originalDecision.name
    }

    override fun addSuppressor(suppressor: NotificationInterruptSuppressor) {
    override fun addLegacySuppressor(suppressor: NotificationInterruptSuppressor) {
        wrapped.addSuppressor(suppressor)
    }

+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ interface VisualInterruptionDecisionProvider {
     *
     * @param[suppressor] the suppressor to add
     */
    fun addSuppressor(suppressor: NotificationInterruptSuppressor)
    fun addLegacySuppressor(suppressor: NotificationInterruptSuppressor)

    /**
     * Decides whether a [notification][entry] should display as heads-up or not, but does not log