Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 161080c0 authored by Jean Chalard's avatar Jean Chalard
Browse files

Fix tests.

Looper.prepare() is not called automatically for us any more.

Bug: 17518123
Change-Id: I2fb6caa4ef79ce7ed86ff58518f4b000483e508f
parent f116f910
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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);