A mirror for futokb (https://gitlab.futo.org/keyboard)
Go to file
Jean Chalard 7a94cbd2a4 Remove useless code (A25)
isWhitelistedOrNotAWord takes an 'ignoreCase' argument. By looking
at the contents of the wordcomposer here, there is only one case
where its output will be different : when the word is typed with a
capital, but the lower case version exists in the dictionary.
E.g. the user typed "This".

In this case, isWhitelistedOrNotAWord in line 235 will return false
instead of true, so the test will score a true instead of a false,
so hasAutoCorrection may be true instead of false in this specific
case and that's the only case where it's different.

But in this case, allowsToBeAutoCorrected is certain to be false,
which means the result will not have changed if hasAutoCorrection
was true in the first place. So in the end this change is sure not
to change the behavior.

Change-Id: Ic41cf959c20c19165f84d9b8ff006731fa595d84
2012-06-29 16:57:56 +09:00
dictionaries Make sure whitelist targets are in the main dictionary 2012-06-19 02:08:57 +09:00
java Remove useless code (A25) 2012-06-29 16:57:56 +09:00
native Merge "Accept external debug flag in native code" 2012-06-28 22:56:04 -07:00
tests Cleanup, part 10 : remove from the code obsolete options (C10) 2012-06-21 10:07:05 +09:00
tools am e4bbff78: am 38dc9ca3: Fix duplicate period on Persian tablet keyboard 2012-06-18 10:52:54 -07:00
Android.mk Reorganize LatinIME native build directory structure. Now it got NDK friendly. 2011-12-13 21:16:20 +09:00
CleanSpec.mk Pass the touch position correction data to native. 2011-09-29 17:00:49 +09:00