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

Commit aeefcf8a authored by Danny Burakov's avatar Danny Burakov
Browse files

[flexiglass] Remove the unused ShadeRepository.setShadeLayoutWide().

Fix: 444643845
Test: Unit tests still pass.
Flag: com.android.systemui.scene_container
Change-Id: I5cdaf097ec8416686508dedf84ae940517e62f3d
parent ffbe314b
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -126,9 +126,6 @@ interface ShadeRepository {
    /** Sets the bounds of a shade overlay if it is currently visible. */
    fun setShadeOverlayBounds(bounds: Rect?)

    /** Sets whether the shade layout should be wide (true) or narrow (false). */
    fun setShadeLayoutWide(isShadeLayoutWide: Boolean)

    /** Sets whether a closing animation is happening. */
    @Deprecated("Use ShadeAnimationInteractor instead") fun setLegacyIsClosing(isClosing: Boolean)

@@ -264,10 +261,6 @@ class ShadeRepositoryImpl @Inject constructor(@Background val backgroundScope: C
        }
    }

    override fun setShadeLayoutWide(isShadeLayoutWide: Boolean) {
        legacyUseSplitShade.value = isShadeLayoutWide
    }

    @Deprecated("Use ShadeInteractor instead")
    override fun setLegacyQsFullscreen(legacyQsFullscreen: Boolean) {
        _legacyQsFullscreen.value = legacyQsFullscreen
+0 −4
Original line number Diff line number Diff line
@@ -171,10 +171,6 @@ class FakeShadeRepository @Inject constructor() : ShadeRepository {
    override fun setLegacyShadeExpansion(expandedFraction: Float) {
        _legacyShadeExpansion.value = expandedFraction
    }

    override fun setShadeLayoutWide(isShadeLayoutWide: Boolean) {
        legacyUseSplitShade.value = isShadeLayoutWide
    }
}

@Module