Merge "fix KeyEvent can't correctly finish when inputmethod time out happend" into oc-dev

This commit is contained in:
TreeHugger Robot
2017-04-21 02:36:06 +00:00
committed by Android (Google) Code Review

View File

@@ -1954,7 +1954,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;