diff options
| author | 2025-02-05 17:58:34 +0100 | |
|---|---|---|
| committer | 2025-02-05 21:37:26 +0100 | |
| commit | 38633894c85feca89437b00cd7ad9c01c75376da (patch) | |
| tree | 1418486cfcc525946a0db56853db4b432387aebb /libs/androidfw/misc.cpp | |
| parent | 5aefade7285b6524106d67ff5d6538371a624d20 (diff) | |
Wait for activity to be ready for input injection
In InputMethodServiceTest we verify the behaviour of short clicking and
long clicking on the IME back button and the IME Switcher button, and we
verify that the TestActivity is focused before starting the test.
However, in some cases the test still fails with the input_interaction
going to the NotificationShade window. This adds an extra assertion that
the Activity is ready for input injection, which should detect this case
early and provide a more explicit signal.
Flag: EXEMPT testfix
Bug: 394240124
Test: atest InputMethodServiceTest#testShowHideKeyboard_byUserAction
Change-Id: I90704eccde26115c9da746742f3d74ec3a00021e
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions