From 5238df54ad3f648d09d5288f00b0a9d3c0593832 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Mon, 4 Jul 2011 16:21:32 +0900 Subject: [PATCH] Disable auto-correction when application auto completion has set Change-Id: I3f4ecfe7f2d96613dd37d41d9195d94864f82b48 --- java/src/com/android/inputmethod/latin/LatinIME.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index a83aca0a2..929fdac31 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -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;