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

This commit is contained in:
Treehugger Robot
2017-05-04 03:37:36 +00:00
committed by Gerrit Code Review

View File

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