Disable auto-correction when application auto completion has set

Change-Id: I3f4ecfe7f2d96613dd37d41d9195d94864f82b48
main
Tadashi G. Takaoka 2011-07-04 16:21:32 +09:00
parent 7d3821c2b3
commit 5238df54ad
1 changed files with 2 additions and 2 deletions

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;