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

Commit 45e76e53 authored by Nicolo' Mazzucato's avatar Nicolo' Mazzucato
Browse files

Minor ktfmt fixes after recent refactor

Bug: 362719719
Bug: 398011576
Test: NONE - just reformatting automatically
Flag: NONE - just reformatting automatically
Change-Id: Ie9388bb1f4edf1dd86cee12dd7a411a8161dd301
parent 0490c01c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ class SysUIStateDispatcher @Inject constructor() {

    /** Called from each [SysUiState] to propagate new state changes. */
    fun dispatchSysUIStateChange(sysUiFlags: Long, displayId: Int) {
        if (displayId != Display.DEFAULT_DISPLAY && !ShadeWindowGoesAround.isEnabled) return;
        if (displayId != Display.DEFAULT_DISPLAY && !ShadeWindowGoesAround.isEnabled) return
        listeners.forEach { listener ->
            listener.onSystemUiStateChanged(sysUiFlags = sysUiFlags, displayId = displayId)
        }
+1 −2
Original line number Diff line number Diff line
@@ -162,8 +162,7 @@ class LauncherProxyServiceTest : SysuiTestCase() {
        wakefulnessLifecycle.dispatchFinishedGoingToSleep()
        clearInvocations(launcherProxy)

        wakefulnessLifecycle
            .dispatchFinishedWakingUp()
        wakefulnessLifecycle.dispatchFinishedWakingUp()

        verify(launcherProxy)
            .onSystemUiStateChanged(
+1 −6
Original line number Diff line number Diff line
@@ -32,12 +32,7 @@ val Kosmos.sysUiStateFactory by Fixture {
    object : SysUiStateImpl.Factory {
        override fun create(displayId: Int): SysUiStateImpl {
            return spy(
                SysUiStateImpl(
                    displayId,
                    sceneContainerPlugin,
                    dumpManager,
                    sysUIStateDispatcher,
                )
                SysUiStateImpl(displayId, sceneContainerPlugin, dumpManager, sysUIStateDispatcher)
            )
        }
    }