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

Commit 06acede0 authored by Cosmin Băieș's avatar Cosmin Băieș Committed by Android (Google) Code Review
Browse files

Merge "Revert "In some cases launcher is not ready at test creation, in...

Merge "Revert "In some cases launcher is not ready at test creation, in computeTestMethods"" into main
parents 76537378 bd6e7c3d
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -40,9 +40,10 @@ abstract class BaseTest
constructor(
    protected val flicker: LegacyFlickerTest,
    protected val instrumentation: Instrumentation = InstrumentationRegistry.getInstrumentation(),
    protected val tapl: LauncherInstrumentation = LauncherInstrumentation()
) {
    protected val tapl: LauncherInstrumentation by lazy {
        LauncherInstrumentation().also { it.expectedRotationCheckEnabled = true }
    init {
        tapl.setExpectedRotationCheckEnabled(true)
    }

    private val logTag = this::class.java.simpleName