diff options
| author | 2025-02-05 18:44:16 +0100 | |
|---|---|---|
| committer | 2025-02-05 21:37:30 +0100 | |
| commit | 4619d46b2444a81f3fcf2d329ef2e53125bfd694 (patch) | |
| tree | 1a11dc275d862d5445fb5b58bad98495f332656d /libs/androidfw/misc.cpp | |
| parent | 38633894c85feca89437b00cd7ad9c01c75376da (diff) | |
Use InputInjection util for InputMethodServiceTest
In testShowHideKeyboard_byUserAction we were using UiDevice to search
for the EditText, and to click on it, despite having a reference to the
View readily available. This makes the test more robust by using the
InputInjection utils to directly click on the existing reference.
Flag: EXEMPT testfix
Bug: 394328311
Test: atest InputMethodServiceTest#testShowHideKeyboard_byUserAction
Change-Id: Ib2f51b16126467a4f1a857657c5e6086fb63159c
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions