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

Commit 0f722b52 authored by gaoshang's avatar gaoshang Committed by android-build-merger
Browse files

Merge "fix KeyEvent can't correctly finish when inputmethod time out happend"

am: 36247646

Change-Id: I245d63d33fdc7376e05539486be3b31b284ea11f
parents 799be11e 36247646
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1920,7 +1920,7 @@ public final class InputMethodManager {
                Trace.traceCounter(Trace.TRACE_TAG_INPUT, PENDING_EVENT_COUNTER,
                        mPendingEvents.size());

                Message msg = mH.obtainMessage(MSG_TIMEOUT_INPUT_EVENT, p);
                Message msg = mH.obtainMessage(MSG_TIMEOUT_INPUT_EVENT, seq, 0, p);
                msg.setAsynchronous(true);
                mH.sendMessageDelayed(msg, INPUT_METHOD_NOT_RESPONDING_TIMEOUT);
                return DISPATCH_IN_PROGRESS;