aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/Dictionary.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2012-06-25 15:58:53 +0900
committerJean Chalard <jchalard@google.com>2012-06-25 16:32:25 +0900
commitc3ebf1a43a6202c9992773722ff1eed7088b9a91 (patch)
treeaf15db848b1bbf5125d9af37daed9b3e1289cdbf /java/src/com/android/inputmethod/latin/Dictionary.java
parent223b8b44dffe6f7dd5cf9cd1297d24f4f675276d (diff)
downloadlatinime-c3ebf1a43a6202c9992773722ff1eed7088b9a91.tar.gz
latinime-c3ebf1a43a6202c9992773722ff1eed7088b9a91.tar.xz
latinime-c3ebf1a43a6202c9992773722ff1eed7088b9a91.zip
Refactoring and groundwork to fix a bug with older apps
This has a good, although small, impact on performance : it removes a two-way IPC call in a most frequent case, while possibly adding one in a rather unfrequent and less critical case. Also, this fixes a bug with surrogate pairs. This specific branch of code now correctly handles surrogate pairs. Aside from this, it should have no impact on behavior. However, since it does delay access to the previous character in the text view by a two-way IPC call, it actually goes a long way toward fixing bug#6668226. It is not really a fix and the race condition still exists, but this change makes it much, much harder to hit. Bug: 6668226 Change-Id: Id11cc6a0b7488d6bd392227cafdcf3a8d4c62f6c
Diffstat (limited to 'java/src/com/android/inputmethod/latin/Dictionary.java')
0 files changed, 0 insertions, 0 deletions