d631651b12
It used to be the case that the scoring system turns up the same word that was entered with a different capitalization, but with a lower score than some other, more frequent word. To cope with this, there was code that would order such candidates in the first slot no matter what. This processing is now useless because fully matching words now have a huge boost that ensures they will get to the top of the list, before any non-fully matching word (which means, differing only by capitalization or accents). The bug that did happen with this was, if a fully-matching word got matched by several processing passes, and the (chronologically) later score affected to this word was weaker, it would result in the duplicate removal pass removing the stronger score. This in turn would mess with autocorrect. In an effort to keep the risk at a minimum for MR1, this change does not actually remove the useless code, but adds a check in the odd case to avoid the bad situation. Another change will remove the code for ICS release. bug: 4100269 Change-Id: I18c0575332981ffec0e257e26a360995838d521e |
||
---|---|---|
.. | ||
AccessibilityUtils.java | ||
AutoCorrection.java | ||
AutoDictionary.java | ||
BackupAgent.java | ||
BinaryDictionary.java | ||
CandidateView.java | ||
ContactsDictionary.java | ||
DebugSettings.java | ||
Dictionary.java | ||
EditingUtils.java | ||
ExpandableDictionary.java | ||
InputLanguageSelection.java | ||
LanguageSwitcher.java | ||
LatinIME.java | ||
LatinImeLogger.java | ||
Settings.java | ||
SharedPreferencesCompat.java | ||
SubtypeLocale.java | ||
SubtypeSwitcher.java | ||
Suggest.java | ||
SuggestedWords.java | ||
TextEntryState.java | ||
UserBigramDictionary.java | ||
UserDictionary.java | ||
Utils.java | ||
WhitelistDictionary.java | ||
WordComposer.java |