mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Merge "Fix a failing test."
This commit is contained in:
commit
85f6edbaba
@ -202,7 +202,9 @@ public class InputTestsBase extends ServiceTestCase<LatinIMEForTests> {
|
|||||||
mInputConnection = ic;
|
mInputConnection = ic;
|
||||||
changeLanguage("en_US");
|
changeLanguage("en_US");
|
||||||
// Run messages to avoid the messages enqueued by startInputView() and its friends
|
// Run messages to avoid the messages enqueued by startInputView() and its friends
|
||||||
// to run on a later call and ruin things.
|
// to run on a later call and ruin things. We need to wait first because some of them
|
||||||
|
// can be posted with a delay (notably, MSG_RESUME_SUGGESTIONS)
|
||||||
|
sleep(DELAY_TO_WAIT_FOR_PREDICTIONS);
|
||||||
runMessages();
|
runMessages();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user