In the development of the time suddenly found in the Input text box click the Input Method Delete button, found that the app inexplicably exited. The log information is as follows:
01-31 16:57:59.524:w/iinputconnectionwrapper (1259): Clearmetakeystates on inactive inputconnection01-31 16:57:59.624 : W/iinputconnectionwrapper (1259): Clearmetakeystates on inactive inputconnection01-31 16:57:59.624:w/ Iinputconnectionwrapper (1259): BeginBatchEdit on inactive inputconnection01-31 16:57:59.624:w/ Iinputconnectionwrapper (1259): Gettextbeforecursor on inactive inputconnection01-31 16:57:59.624:w/ Iinputconnectionwrapper (1259): Endbatchedit on inactive inputconnection01-31 16:57:59.624:w/iinputconnectionwrapper (1259): Sendkeyevent on inactive inputconnection01-31 16:57:59.624:w/iinputconnectionwrapper (1259): SendKeyEvent on Inactive inputconnection01-31 16:57:59.624:w/iinputconnectionwrapper (1259): Clearmetakeystates on inactive Inputconnection01-31 16:57:59.684:w/iinputconnectionwrapper (1259): Showstatusicon on inactive InputConnection
Later, the various search, found that their own in the activity of rewriting the OnKeyDown method directly exited the activity.
So when this warn occurs, see if your code overrides the OnKeyDown or OnKeyUp method and checks for a logical error.
Android Showstatusicon on inactive inputconnection exception