Loading java/src/com/android/inputmethod/latin/LatinIME.java +4 −1 Original line number Diff line number Diff line Loading @@ -1602,7 +1602,10 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar // TextEntryState.State.PICKED_SUGGESTION state. TextEntryState.typedCharacter((char) Keyboard.CODE_SPACE, true, WordComposer.NOT_A_COORDINATE, WordComposer.NOT_A_COORDINATE); // From there on onUpdateSelection() will fire so suggestions will be updated // On Honeycomb+, onUpdateSelection() will fire, but in Gingerbread- in WebTextView // only it does not, for some reason. Force update suggestions so that it works // in Gingerbread- in WebTextView too. mHandler.postUpdateSuggestions(); } else if (!showingAddToDictionaryHint) { // If we're not showing the "Touch again to save", then show corrections again. // In case the cursor position doesn't change, make sure we show the suggestions again. Loading Loading
java/src/com/android/inputmethod/latin/LatinIME.java +4 −1 Original line number Diff line number Diff line Loading @@ -1602,7 +1602,10 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar // TextEntryState.State.PICKED_SUGGESTION state. TextEntryState.typedCharacter((char) Keyboard.CODE_SPACE, true, WordComposer.NOT_A_COORDINATE, WordComposer.NOT_A_COORDINATE); // From there on onUpdateSelection() will fire so suggestions will be updated // On Honeycomb+, onUpdateSelection() will fire, but in Gingerbread- in WebTextView // only it does not, for some reason. Force update suggestions so that it works // in Gingerbread- in WebTextView too. mHandler.postUpdateSuggestions(); } else if (!showingAddToDictionaryHint) { // If we're not showing the "Touch again to save", then show corrections again. // In case the cursor position doesn't change, make sure we show the suggestions again. Loading