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

Commit bf85bd69 authored by Nataniel Borges's avatar Nataniel Borges Committed by Android (Google) Code Review
Browse files

Merge "In some cases launcher is not ready at test creation, in computeTestMethods" into main

parents e2d61b7b 48ae6b90
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -40,10 +40,9 @@ abstract class BaseTest
constructor(
    protected val flicker: LegacyFlickerTest,
    protected val instrumentation: Instrumentation = InstrumentationRegistry.getInstrumentation(),
    protected val tapl: LauncherInstrumentation = LauncherInstrumentation()
) {
    init {
        tapl.setExpectedRotationCheckEnabled(true)
    protected val tapl: LauncherInstrumentation by lazy {
        LauncherInstrumentation().also { it.expectedRotationCheckEnabled = true }
    }

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