commit | fe92c174ea08f9f593432f0ab20961700de9e027 | [log] [tgz] |
---|---|---|
author | Jean Chalard <jchalard@google.com> | Tue Feb 18 16:58:04 2014 +0900 |
committer | Jean Chalard <jchalard@google.com> | Tue Feb 18 19:55:54 2014 +0900 |
tree | 3577a7d0fff0b796c49f747a7d577f67ffdb6274 | |
parent | db21fad18f70eb4abaf60a8c0ae7f285682acf20 [diff] |
Fix a bug where the cache would be out of sync During recorrection, the cursor position when calling commitText is not necessarily at the end of the composing text. Besides, RichInputConnection assumes the cursor is always after any composing text. This is not correct, but in the practice, it seems all code paths work. We should fix this in the future. Bug: 13060691 Change-Id: I15f71fff62d36e80cf6e4a022c5e78af634b199d