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

Commit 25d04b7e authored by Ale Nijamkin's avatar Ale Nijamkin
Browse files

[flexiglass] Fixes quick affordance test when flexi is on

Disables the test method. Lockscreen visibility in Flexiglass isn't
controlled by setKeyguardShowing; it depends on the scene, so this logic
doesn't actually need to be tested this way.

Bug: 283121968
Test: not really tested; reproduced the failure locally with the flexi
flag enabled and slapped a disable on it due to the reasoning above
Flag: EXEMPT test change only

Change-Id: I3d4a4c04685f2e270f601d8be8f1910096fea02d
parent a5e8f22a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@ import com.android.systemui.coroutines.collectLastValue
import com.android.systemui.coroutines.collectValues
import com.android.systemui.dock.DockManager
import com.android.systemui.dock.DockManagerFake
import com.android.systemui.flags.DisableSceneContainer
import com.android.systemui.flags.EnableSceneContainer
import com.android.systemui.flags.FakeFeatureFlags
import com.android.systemui.haptics.msdl.fakeMSDLPlayer
@@ -329,6 +330,7 @@ class KeyguardQuickAffordanceInteractorTest : SysuiTestCase() {
        }

    @Test
    @DisableSceneContainer
    fun quickAffordance_bottomStartAffordanceHiddenWhenLockscreenIsNotShowing() =
        testScope.runTest {
            repository.setKeyguardShowing(false)