Merge "Disable auto-correction when application auto completion has set"

This commit is contained in:
Tadashi G. Takaoka 2011-07-04 02:20:05 -07:00 committed by Android (Google) Code Review
commit 386899a8b0

View file

@ -831,8 +831,8 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
SuggestedWords.Builder builder = new SuggestedWords.Builder()
.setApplicationSpecifiedCompletions(applicationSpecifiedCompletions)
.setTypedWordValid(true)
.setHasMinimalSuggestion(true);
.setTypedWordValid(false)
.setHasMinimalSuggestion(false);
// When in fullscreen mode, show completions generated by the application
setSuggestions(builder.build());
mBestWord = null;