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

Skip to content
Commit 8ba7b08e authored by Ming-Shin Lu's avatar Ming-Shin Lu
Browse files

Fix LaunchAppShowImeAndDialogThemeAppTest flakiness

Using tapping DialogThemedActivity may possible to get unexpected focus
change to hide the keyboard, also DialogThemedActivity self doesn't set
android:windowSoftInputState=stateUnchanged, that affects the test
verfication that we expeting IME layer should persist visible.

Fix it by adding stateUnchanged softInputState flag, and simply using
UiDevice#pressBack to dismiss dialog without touching unrelated focus
change.

Fix: 215884488
Test: atest LaunchAppShowImeAndDialogThemeAppTest \
        --rerun-until-failure 20

Change-Id: I4704dfa531836423dafc3f3ece1d3b80584ae7fa
parent 55b96e84
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment