OSDN Git Service

Have ControlledInputConnectionWrapper#toString().
authorYohei Yukawa <yukawa@google.com>
Wed, 18 Nov 2015 21:44:14 +0000 (13:44 -0800)
committerYohei Yukawa <yukawa@google.com>
Thu, 19 Nov 2015 00:24:14 +0000 (00:24 +0000)
commit12d66c2cda622fe1df611198d94fdd567adf9fc4
tree1fee1fb326d0e3c101c6b83359399027337b9198
parentf91e74d9a945f59cdb714a80a2a87953d72dbd99
Have ControlledInputConnectionWrapper#toString().

'dumpsys input_method' does not generate useful information for
InputMethodManager#mIInputContext.  It is currently just a default
output of Object#toString().

This CL overrides ControlledInputConnectionWrapper#toString() so that
we can easily understand whether this connection is accepting API calls
from the IME or silently droping those API calls.  Note that
ControlledInputConnectionWrapper is not exposed to developers so
overriding #toString() has no effect for application developers.

Bug: 25373872
Change-Id: I89b9d4e15bc1569817bab4d1be429ac6e0462f14
core/java/android/view/inputmethod/InputMethodManager.java