Merge "Fix tests."

main
Jean Chalard 2014-09-17 10:18:42 +00:00 committed by Android (Google) Code Review
commit 7542b8d83d
1 changed files with 3 additions and 0 deletions

View File

@ -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);