maiacore android keyboard app or something
Find a file
Jean Chalard 5f41b705fc Fix a bug with the whitelist
This bug would kill the case where the whitelist contains
a word to be autocorrected to an uppercased version of
itself, and the user would enter the uppercase version.
In this case, this bug would cause the typed word to be
killed off the list of candidates, and possibly autocorrected
to the *next* candidate.

When the whitelist checks whether this the typed word is
a candidate for whitelisting, this change has it check whether
the whitelisting results in the typed word before returning.
Hence, it can keep the case-insensitive behavior of the
whitelist.

Coincidentally, this change renames the method used to do
this, because it does not comply with the general contract
of Dictionary. This happens to be in the way of another
upcoming change.

Bug: 5420371
Change-Id: Ifb305271acc5f171adf9b18c762ae7975b14be0a
2011-10-07 18:40:23 +09:00
dictionaries auto import from //branches/cupcake/...@138744 2009-03-13 15:11:42 -07:00
java Fix a bug with the whitelist 2011-10-07 18:40:23 +09:00
native Fix a bug of the conversion of the correction algorithm 2011-10-07 00:23:26 +09:00
tests Fix a bug with the whitelist 2011-10-07 18:40:23 +09:00
tools Fix a bug where ampersands in XML would not work 2011-09-28 20:58:59 +09:00
Android.mk Don't let the native code target be included twice when unbundling. 2010-03-09 15:01:09 -08:00
CleanSpec.mk Pass the touch position correction data to native. 2011-09-29 17:00:49 +09:00