Disable auto-correction when application auto completion has set
Change-Id: I3f4ecfe7f2d96613dd37d41d9195d94864f82b48
This commit is contained in:
parent
7d3821c2b3
commit
5238df54ad
1 changed files with 2 additions and 2 deletions
|
@ -831,8 +831,8 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
|
||||||
|
|
||||||
SuggestedWords.Builder builder = new SuggestedWords.Builder()
|
SuggestedWords.Builder builder = new SuggestedWords.Builder()
|
||||||
.setApplicationSpecifiedCompletions(applicationSpecifiedCompletions)
|
.setApplicationSpecifiedCompletions(applicationSpecifiedCompletions)
|
||||||
.setTypedWordValid(true)
|
.setTypedWordValid(false)
|
||||||
.setHasMinimalSuggestion(true);
|
.setHasMinimalSuggestion(false);
|
||||||
// When in fullscreen mode, show completions generated by the application
|
// When in fullscreen mode, show completions generated by the application
|
||||||
setSuggestions(builder.build());
|
setSuggestions(builder.build());
|
||||||
mBestWord = null;
|
mBestWord = null;
|
||||||
|
|
Loading…
Reference in a new issue