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

Commit 85634244 authored by Ming-Shin Lu's avatar Ming-Shin Lu Committed by Android (Google) Code Review
Browse files

Merge "Fix LaunchAppShowImeAndDialogThemeAppTest flakiness"

parents 2eb1f928 8ba7b08e
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -67,10 +67,9 @@ class ImeAppAutoFocusHelper @JvmOverloads constructor(
        val dialog = uiDevice.wait(
                Until.findObject(By.text("Dialog for test")), FIND_TIMEOUT)

        // Tapping outside of the dialog to dismiss
        // Pressing back key to dismiss the dialog
        if (dialog != null) {
            val dialogBounds = dialog.visibleBounds
            uiDevice.click(dialogBounds.left, dialogBounds.top - 300)
            uiDevice.pressBack()
            wmHelper.waitForAppTransitionIdle()
        }
    }
+1 −0
Original line number Diff line number Diff line
@@ -36,5 +36,6 @@
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowIsFloating">true</item>
        <item name="android:backgroundDimEnabled">false</item>
        <item name="android:windowSoftInputMode">stateUnchanged</item>
    </style>
</resources>