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

Commit e96d797f authored by Julia Tuttle's avatar Julia Tuttle
Browse files

Rename addSuppressor to addLegacySuppressor

Bug: 261728888
Test: builds
Change-Id: I5fe236b34aea0592d8c174d83d985ec80b98b9cb
parent 34be9571
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