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

Commit 58e49e3c authored by Wilson Wu's avatar Wilson Wu
Browse files

Enable USE_REPORT_WINDOW_GAINED_FOCUS_ASYNC

We had CL[1] to construct an async mechanism if it
only report the focus gain in InputMethodManager.
And using a USE_REPORT_WINDOW_GAINED_FOCUS_ASYNC flag
to switch that new flow.

Flip this flag to enable this mechanism. If it need
to get back to previous sync behavior, we can revert
this change instead of CL[1].

[1]: Ic584203c1221fbae17f5e2d8f09e3992df061646

Bug: 185928120
Test: atest CtsInputMethodTestCases
Change-Id: I2d9600973b34c9d4818e96a8cef771b8a33a07ef
parent 5e2d9f27
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -271,7 +271,7 @@ public final class InputMethodManager {
     * {@link StartInputReason#WINDOW_FOCUS_GAIN_REPORT_WITHOUT_CONNECTION} in a truly asynchronous
     * way. {@code false} to go back to the previous synchronous semantics.
     */
    private static final boolean USE_REPORT_WINDOW_GAINED_FOCUS_ASYNC = false;
    private static final boolean USE_REPORT_WINDOW_GAINED_FOCUS_ASYNC = true;

    /**
     * A constant that represents Voice IME.