futokb/java
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
..
res am 5e5cf045: am 7f7947c9: Keep subtypes in method.xml the same as pre-JellyBean 2012-06-27 21:58:53 -07:00
src/com/android/inputmethod Remove useless code (A25) 2012-06-29 16:57:56 +09:00
Android.mk
AndroidManifest.xml
MODULE_LICENSE_APACHE2
NOTICE
proguard.flags Update LatinIME native Makefile for gesture code 2012-06-29 00:06:14 +09:00