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

am: 36247646e3

Change-Id: I245d63d33fdc7376e05539486be3b31b284ea11f
This commit is contained in:
gaoshang
2017-05-04 03:46:13 +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;