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

Change-Id: Ic315d3c7d7cfc0132237de29fc7426d412cdb96b