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

Commit 026da351 authored by Beverly's avatar Beverly Committed by Beverly Tai
Browse files

[flexiglass] Disable SceneContainer when running AlternateBouncerViewBinderTest

Only run AlternateBouncerViewBinderTest if the SceneContainer
flag is disabled.

When the scene container flag is enabled, the
AlternateBouncerViewBinder is not used. Instead, when
the SceneContainer is enabled, the alternate bouncer view
is a Composable (AlternateBouncer.kt).

Test: atest AlternateBouncerViewBinderTest
Bug: 409851925
Flag: EXEMPT test only change
Change-Id: I624904f32ffdd395e12d553376a2313db5f0b589
parent 887968cb
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@ import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.filters.SmallTest
import com.android.systemui.SysuiTestCase
import com.android.systemui.bouncer.domain.interactor.givenCanShowAlternateBouncer
import com.android.systemui.flags.DisableSceneContainer
import com.android.systemui.keyguard.data.repository.fakeKeyguardTransitionRepository
import com.android.systemui.keyguard.shared.model.KeyguardState
import com.android.systemui.kosmos.testScope
@@ -47,6 +48,7 @@ import org.mockito.kotlin.isNull

@SmallTest
@RunWith(AndroidJUnit4::class)
@DisableSceneContainer
@TestableLooper.RunWithLooper(setAsMainLooper = true)
class AlternateBouncerViewBinderTest : SysuiTestCase() {
    private val kosmos = testKosmos()