am 7542b8d8: Merge "Fix tests."

* commit '7542b8d83dd200801dcdf8c5151ff5b2c70fb99a':
  Fix tests.
main
Jean Chalard 2014-09-17 10:25:21 +00:00 committed by Android Git Automerger
commit 812c97b4cf
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);