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

Commit 445cbf56 authored by Nataniel Borges's avatar Nataniel Borges
Browse files

Fixes app helper to editor popup dialog

Fixes: 248248457
Test: atest FlickerLibTest && atest FlickerTests
Change-Id: Ie5629e8e79b21fd20e02a8891e65ebe1ee28c452
parent ec667f9f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -26,9 +26,9 @@ import com.android.server.wm.traces.parser.windowmanager.WindowManagerStateHelpe

class ImeEditorPopupDialogAppHelper @JvmOverloads constructor(
    instr: Instrumentation,
    launcherName: String = ActivityOptions.Ime.AutoFocusActivity.LABEL,
    launcherName: String = ActivityOptions.Ime.EditorPopupDialogActivity.LABEL,
    component: ComponentNameMatcher =
        ActivityOptions.Ime.AutoFocusActivity.COMPONENT.toFlickerComponent()
        ActivityOptions.Ime.EditorPopupDialogActivity.COMPONENT.toFlickerComponent()
) : ImeAppHelper(instr, launcherName, component) {
    override fun openIME(wmHelper: WindowManagerStateHelper) {
        val editText = uiDevice.wait(Until.findObject(By.text("focused editText")), FIND_TIMEOUT)