code /
mozc /
fe635d73050960cdfdb31a11dc3d08f636e14d49 Fix crash when a dead key is pressed in the physical keyboard in Android
The root cause of the crash was unawareness of KeyCharacterMap.COMBINING_ACCENT_MASK flag in Mozc's hardware key event handling. The return value of android.view.KeyEvent#getUnicodeChar() should have been masked with KeyCharacterMap.COMBINING_ACCENT_MASK before it is treated as a Unicode character.
Note that even with this CL, Mozc for Android still cannot handle dead keys correctly. It should be addressed by another CL.
Closes Issue 248.
BUG=Issue mozc:248
TEST=manually done with Nexus 5 / Android 5.0.1 (LRX22C)
git-svn-id: https://mozc.googlecode.com/svn/trunk@463 a6090854-d499-a067-5803-1114d4e51264
4 files changed
tree: bd160a0f10b3b34b185429e2a532c9e2b33a5823
- src/