mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Fix tests.
Looper.prepare() is not called automatically for us any more. Bug: 17518123 Change-Id: I2fb6caa4ef79ce7ed86ff58518f4b000483e508f
This commit is contained in:
parent
f116f91033
commit
161080c029
@ -183,6 +183,9 @@ public class InputTestsBase extends ServiceTestCase<LatinIMEForTests> {
|
||||
| InputType.TYPE_TEXT_FLAG_MULTI_LINE;
|
||||
mEditText.setInputType(inputType);
|
||||
mEditText.setEnabled(true);
|
||||
if (null == Looper.myLooper()) {
|
||||
Looper.prepare();
|
||||
}
|
||||
setupService();
|
||||
mLatinIME = getService();
|
||||
setDebugMode(true);
|
||||
|
Loading…
Reference in New Issue
Block a user