Merge "fix KeyEvent can't correctly finish when inputmethod time out happend" am: 36247646e3

am: 0f722b529c

Change-Id: Ic315d3c7d7cfc0132237de29fc7426d412cdb96b
This commit is contained in:
gaoshang
2017-05-04 03:51:43 +00:00
committed by android-build-merger

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;